Skip to content

Commit 72e60d5

Browse files
committed
Use latest dotty
1 parent 4f2a76d commit 72e60d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name := "compiler-benchmark"
33
version := "1.0-SNAPSHOT"
44

55
def scala212 = "2.12.8"
6-
def dottyLatest = "0.8.0-RC1"
6+
def dottyLatest = "0.21.0-RC1"
77
scalaVersion in ThisBuild := scala212
88
val JmhConfig = config("jmh")
99

@@ -13,7 +13,7 @@ commands += Command.command("testAll") { s =>
1313
"hot -psource=scalap -wi 1 -i 1 -f1" ::
1414
s"++$dottyLatest" ::
1515
"compilation/test" ::
16-
"hot -psource=vector -wi 1 -i 1 -f1" ::
16+
"hot -psource=re2s -wi 1 -i 1 -f1" ::
1717
s"++$scala212" ::
1818
"micro/jmh:run -w1 -f1" ::
1919
s

compilation/src/main/dotc/scala/tools/benchmark/BenchmarkDriver.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ trait BenchmarkDriver extends BaseBenchmarkDriver {
1313
depsClasspath.mkString(File.pathSeparator))
1414
}
1515
ctx.setSetting(ctx.settings.migration, false)
16-
ctx.setSetting(ctx.settings.outputDir, tempDir.getAbsolutePath)
16+
ctx.setSetting(ctx.settings.outputDir, dotty.tools.io.AbstractFile.getDirectory(tempDir.getAbsolutePath))
1717
ctx.setSetting(ctx.settings.language, List("Scala2"))
1818
val compiler = new dotty.tools.dotc.Compiler
1919
val reporter = dotty.tools.dotc.Bench.doCompile(compiler, allArgs)

0 commit comments

Comments
 (0)