Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bgaidioz committed May 10, 2024
1 parent ee2cbdc commit 93c0182
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
10 changes: 4 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ lazy val snapiTruffle = (project in file("snapi-truffle"))
runJavaAnnotationProcessor := {
println("Running Java annotation processor")

val annotationProcessorJar = baseDirectory.value / "truffle-dsl-processor-23.1.0.jar"
val annotationProcessorJar = baseDirectory.value / "truffle-dsl-processor-24.0.1.jar"

val javaSources = baseDirectory.value / "src" / "main" / "java"
val targetDir = baseDirectory.value / "target" / "java-processed-sources"
Expand All @@ -241,10 +241,8 @@ lazy val snapiTruffle = (project in file("snapi-truffle"))

val javacOptions = Seq(
"javac",
"-source",
"21",
"-target",
"21",
"--release",
"22",
"-d",
targetDir.getAbsolutePath,
"--module-path",
Expand Down Expand Up @@ -378,5 +376,5 @@ lazy val pythonClient = (project in file("python-client"))
missingInterpolatorCompileSettings,
testSettings,
Compile / packageBin / packageOptions += Package.ManifestAttributes("Automatic-Module-Name" -> "raw.python.client"),
libraryDependencies += "org.graalvm.polyglot" % "python" % "23.1.0" % Provided
libraryDependencies += "org.graalvm.polyglot" % "python" % "24.0.1" % Provided
)
14 changes: 7 additions & 7 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ object Dependencies {


// from client
val trufflePolyglot = "org.graalvm.polyglot" % "polyglot" % "23.1.0"
val trufflePolyglot = "org.graalvm.polyglot" % "polyglot" % "24.0.1"


// from snapi-parser
Expand Down Expand Up @@ -78,12 +78,12 @@ object Dependencies {
val jwtCore = "com.github.jwt-scala" %% "jwt-core" % "9.4.4-rawlabs"
val springCore = "org.springframework" % "spring-core" % "5.3.13"
val truffleCompiler = Seq(
"org.graalvm.truffle" % "truffle-api" % "23.1.0",
"org.graalvm.truffle" % "truffle-api" % "23.1.0",
"org.graalvm.truffle" % "truffle-compiler" % "23.1.0",
"org.graalvm.truffle" % "truffle-nfi" % "23.1.0",
"org.graalvm.truffle" % "truffle-nfi-libffi" % "23.1.0",
"org.graalvm.truffle" % "truffle-runtime" % "23.1.0"
"org.graalvm.truffle" % "truffle-api" % "24.0.1",
"org.graalvm.truffle" % "truffle-api" % "24.0.1",
"org.graalvm.truffle" % "truffle-compiler" % "24.0.1",
"org.graalvm.truffle" % "truffle-nfi" % "24.0.1",
"org.graalvm.truffle" % "truffle-nfi-libffi" % "24.0.1",
"org.graalvm.truffle" % "truffle-runtime" % "24.0.1"
)
val scalaCompiler = Seq(
"org.scala-lang" % "scala-compiler" % "2.12.18",
Expand Down
4 changes: 2 additions & 2 deletions rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export COURSIER_PROGRESS=false
[ "$CI" == "true" ] && { export HOME=/home/sbtuser; }
. ~/.sdkman/bin/sdkman-init.sh

yes n | sdk install java 21.0.1-graalce || true
sdk use java 21.0.1-graalce
yes n | sdk install java 22.0.1-graalce || true
sdk use java 22.0.1-graalce

cd "${SCRIPT_HOME}"
sbt clean compile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
raw.runtime.truffle.RawLanguageProvider
Binary file not shown.

0 comments on commit 93c0182

Please sign in to comment.