Skip to content

Commit a30a4bd

Browse files
committed
Set compiler options for compiling Dotty in benchmarks
1 parent 895598f commit a30a4bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bench/profiles/projects.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ charts:
2626

2727
scripts:
2828
dotty:
29-
- measure -with-compiler $(find $PROG_HOME/dotty/compiler/src/dotty -name *.scala -o -name *.java)
29+
- measure -feature -deprecation -unchecked -Xfatal-warnings -encoding UTF8 -language:existentials,higherKinds,implicitConversions,postfixOps -Yexplicit-nulls -with-compiler $(find $PROG_HOME/dotty/compiler/src/dotty -name *.scala -o -name *.java)
3030

3131
re2s:
3232
- measure $(find $PROG_HOME/tests/re2s/src -name *.scala)

project/Build.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ object Build {
164164
organizationName := "LAMP/EPFL",
165165
organizationHomepage := Some(url("http://lamp.epfl.ch")),
166166

167+
// Note: bench/profiles/projects.yml should be updated accordingly.
167168
scalacOptions ++= Seq(
168169
"-feature",
169170
"-deprecation",

0 commit comments

Comments
 (0)