Skip to content

Commit 8d9f9b0

Browse files
committed
disable bench in the build
1 parent 8488286 commit 8d9f9b0

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ val `scala3-staging-new` = Build.`scala3-staging-new`
2626
val `scala3-tasty-inspector` = Build.`scala3-tasty-inspector`
2727
val `scala3-tasty-inspector-new` = Build.`scala3-tasty-inspector-new`
2828
val `scala3-language-server` = Build.`scala3-language-server`
29-
val `scala3-bench` = Build.`scala3-bench`
30-
val `scala3-bench-bootstrapped` = Build.`scala3-bench-bootstrapped`
31-
val `scala3-bench-micro` = Build.`scala3-bench-micro`
29+
//val `scala3-bench` = Build.`scala3-bench`
30+
//val `scala3-bench-bootstrapped` = Build.`scala3-bench-bootstrapped`
31+
//val `scala3-bench-micro` = Build.`scala3-bench-micro`
32+
//val `scala3-bench-run` = Build.`scala3-bench-run`
3233
val `tasty-core` = Build.`tasty-core`
3334
val `tasty-core-nonbootstrapped` = Build.`tasty-core-nonbootstrapped`
3435
val `tasty-core-bootstrapped-new` = Build.`tasty-core-bootstrapped-new`
@@ -40,7 +41,6 @@ val `scaladoc-testcases` = Build.`scaladoc-testcases`
4041
val `scaladoc-js-common` = Build.`scaladoc-js-common`
4142
val `scaladoc-js-main` = Build.`scaladoc-js-main`
4243
val `scaladoc-js-contributors` = Build.`scaladoc-js-contributors`
43-
val `scala3-bench-run` = Build.`scala3-bench-run`
4444
val dist = Build.dist
4545
val `dist-mac-x86_64` = Build.`dist-mac-x86_64`
4646
val `dist-mac-aarch64` = Build.`dist-mac-aarch64`

project/Build.scala

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3367,13 +3367,13 @@ object Build {
33673367
Test / forkOptions := (Test / forkOptions).value.withWorkingDirectory((ThisBuild / baseDirectory).value),
33683368
)
33693369

3370-
lazy val `scala3-bench` = project.in(file("bench")).asDottyBench(NonBootstrapped)
3371-
lazy val `scala3-bench-bootstrapped` = project.in(file("bench")).asDottyBench(Bootstrapped)
3372-
lazy val `scala3-bench-run` = project.in(file("bench-run")).asDottyBench(Bootstrapped)
3370+
//lazy val `scala3-bench` = project.in(file("bench")).asDottyBench(NonBootstrapped)
3371+
//lazy val `scala3-bench-bootstrapped` = project.in(file("bench")).asDottyBench(Bootstrapped)
3372+
//lazy val `scala3-bench-run` = project.in(file("bench-run")).asDottyBench(Bootstrapped)
33733373

3374-
lazy val `scala3-bench-micro` = project.in(file("bench-micro"))
3374+
/*lazy val `scala3-bench-micro` = project.in(file("bench-micro"))
33753375
.asDottyBench(Bootstrapped)
3376-
.settings(Jmh / run / mainClass := Some("org.openjdk.jmh.Main"))
3376+
.settings(Jmh / run / mainClass := Some("org.openjdk.jmh.Main"))*/
33773377

33783378
val testcasesOutputDir = taskKey[Seq[String]]("Root directory where tests classes are generated")
33793379
val testcasesSourceRoot = taskKey[String]("Root directory where tests sources are generated")
@@ -3997,10 +3997,10 @@ object Build {
39973997
scalacOptions += "-Ytasty-reader" // to read scala3 library
39983998
)
39993999

4000-
def asDottyBench(implicit mode: Mode): Project = project.withCommonSettings.
4000+
/*def asDottyBench(implicit mode: Mode): Project = project.withCommonSettings.
40014001
dependsOn(dottyCompiler).
40024002
settings(commonBenchmarkSettings).
4003-
enablePlugins(JmhPlugin)
4003+
enablePlugins(JmhPlugin)*/
40044004

40054005
def asDist(implicit mode: Mode): Project = project.
40064006
enablePlugins(UniversalPlugin, RepublishPlugin).

0 commit comments

Comments
 (0)