Skip to content

Commit

Permalink
runtime-benchmarks run with Truffle DSL processor
Browse files Browse the repository at this point in the history
  • Loading branch information
Akirathan committed Feb 23, 2024
1 parent 5e4a7cf commit 61a7966
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -1833,6 +1833,7 @@ lazy val `runtime-benchmarks` =
"jakarta.xml.bind" % "jakarta.xml.bind-api" % jaxbVersion,
"com.sun.xml.bind" % "jaxb-impl" % jaxbVersion,
"org.graalvm.truffle" % "truffle-api" % graalMavenPackagesVersion,
"org.graalvm.truffle" % "truffle-dsl-processor" % graalMavenPackagesVersion % "provided",
"org.slf4j" % "slf4j-api" % slf4jVersion,
"org.slf4j" % "slf4j-nop" % slf4jVersion
),
Expand All @@ -1848,6 +1849,14 @@ lazy val `runtime-benchmarks` =
frgaalSourceLevel,
"--enable-preview"
),
javacOptions ++= Seq(
"-s",
(Compile / sourceManaged).value.getAbsolutePath,
"-Xlint:unchecked"
),
Compile / compile := (Compile / compile)
.dependsOn(Def.task { (Compile / sourceManaged).value.mkdirs })
.value,
parallelExecution := false,
modulePath := {
val requiredModIds = GraalVM.modules ++ GraalVM.langsPkgs ++ Seq(
Expand Down

0 comments on commit 61a7966

Please sign in to comment.