Skip to content

Commit 243d7be

Browse files
committed
Disable BSP in Jmh config
1 parent 2ab279c commit 243d7be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

project/Build.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ object Build {
348348
)
349349

350350
lazy val commonBenchmarkSettings = Seq(
351+
Jmh / bspEnabled := false,
351352
mainClass in (Jmh, run) := Some("dotty.tools.benchmarks.Bench"), // custom main for jmh:run
352353
javaOptions += "-DBENCH_COMPILER_CLASS_PATH=" + Attributed.data((fullClasspath in (`scala3-bootstrapped`, Compile)).value).mkString("", File.pathSeparator, ""),
353354
javaOptions += "-DBENCH_CLASS_PATH=" + Attributed.data((fullClasspath in (`scala3-library-bootstrapped`, Compile)).value).mkString("", File.pathSeparator, "")

0 commit comments

Comments
 (0)