Change graalvm version

This commit is contained in:
Nick 2023-10-06 14:07:40 +03:00 committed by Nick Pavlov
parent 9069876fa1
commit 000e3ed734

View File

@ -217,6 +217,7 @@ lazy val `compiler-native-lib` = project
.enablePlugins(NativeImagePlugin) .enablePlugins(NativeImagePlugin)
.settings(commons: _*) .settings(commons: _*)
.settings( .settings(
name := "libaqua",
Compile / mainClass := Some("aqua.compiler.Library"), Compile / mainClass := Some("aqua.compiler.Library"),
nativeImageJvm := "graalvm-java20", nativeImageJvm := "graalvm-java20",
nativeImageVersion:="20.0.2", nativeImageVersion:="20.0.2",
@ -224,7 +225,7 @@ lazy val `compiler-native-lib` = project
"--verbose", "--verbose",
"--no-fallback", "--no-fallback",
"--shared", // Produce shared library "--shared", // Produce shared library
"--initialize-at-run-time=aqua.logging.LogFormatter$" "--initialize-at-run-time=aqua.logging.LogFormatter$",
// Uncomment next lines to use llvm backend // Uncomment next lines to use llvm backend
// and obtain bitcode files // and obtain bitcode files
// "-H:CompilerBackend=llvm", // "-H:CompilerBackend=llvm",