From a30a4bd4ffc7b88e4f2d42a6d7cdfa158bca7d0b Mon Sep 17 00:00:00 2001 From: Matt Bovel Date: Fri, 11 Mar 2022 19:02:48 +0100 Subject: [PATCH] Set compiler options for compiling Dotty in benchmarks --- bench/profiles/projects.yml | 2 +- project/Build.scala | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bench/profiles/projects.yml b/bench/profiles/projects.yml index e012d36b0b01..ed89a95740c8 100644 --- a/bench/profiles/projects.yml +++ b/bench/profiles/projects.yml @@ -26,7 +26,7 @@ charts: scripts: dotty: - - measure -with-compiler $(find $PROG_HOME/dotty/compiler/src/dotty -name *.scala -o -name *.java) + - 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) re2s: - measure $(find $PROG_HOME/tests/re2s/src -name *.scala) diff --git a/project/Build.scala b/project/Build.scala index c6025f7b3ae2..5dd48c066248 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -164,6 +164,7 @@ object Build { organizationName := "LAMP/EPFL", organizationHomepage := Some(url("http://lamp.epfl.ch")), + // Note: bench/profiles/projects.yml should be updated accordingly. scalacOptions ++= Seq( "-feature", "-deprecation",