Skip to content

Commit 5a069b5

Browse files
committed
Enable improved incremental compilation (name hashing)
The algorithm is stable enough to try it out for dotty build. It's enabled in sbt and Akka already.
1 parent 2f29892 commit 5a069b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

project/Build.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ object DottyBuild extends Build {
4141

4242
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
4343

44+
// enable improved incremental compilation algorithm
45+
incOptions := incOptions.value.withNameHashing(true),
46+
4447
// enable verbose exception messages for JUnit
4548
testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v", "--run-listener=test.ContextEscapeDetector"),
4649
// Adjust classpath for running dotty

0 commit comments

Comments
 (0)