Skip to content

Commit

Permalink
Workaround compilation performance regressions due to scala/scala3#21000
Browse files Browse the repository at this point in the history
 by disabling pattern match analysis in both affected projects in the code generated code
  • Loading branch information
WojciechMazur committed Oct 9, 2024
1 parent 17ead14 commit 48fec8e
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion coordinator/configs/projects-config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ alejandrohdezma_http4s-munit {
almond-sh_almond{
projects.exclude = ["sh.almond%toree-hooks"]
}
andimiller_cats-parse-interpolator {
sbt.commands = [
"""codegenJVM/run; scalafmtAll"""
]
source-patches = [{
path = "codegen/src/main/scala/SyntaxGen.scala"
pattern = " $input match {"
replace-with = " ($input: @scala.unchecked) match {"
}]
}
apache_pekko {
java.version = 8
source-patches = [{
Expand Down Expand Up @@ -468,7 +478,14 @@ finos_morphir-jvm {
}
fmonniot_scala3mock {
sbt.commands = ["mapScalacOptions -experimental"]
}
}
fommil_jzon{
source-patches = [{
path = "project/CodeGen.scala"
pattern = " st match {"
replace-with = " (st: @scala.unchecked) match {"
}]
}
frawa_typed-json.projects.overrides {
typed-json.tests = disabled // tries to read non-existing file
}
Expand Down

0 comments on commit 48fec8e

Please sign in to comment.