-
Notifications
You must be signed in to change notification settings - Fork 623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: update to GraalVM 23 #922
Conversation
@gotson the linked GraalVM issue that should fix the Edit: I did figure out why MacOS fails, see the linked GraalVM issue. The libraries for MacOS are packaged as a |
@gotson Friendly reminder of the existence of this draft, to request your input on the previous comment. |
Thanks for the reminder, I'll try to have a look this week. |
I am not familiar with GraalVM, what would be the impact of that ? My understanding is that it would impact projects using sqlite-jdbc, and wanting to compile to native, would be forced to used JDK17 (and later 21). The only downside i can think of is if the project compiles with an older JDK (like 8), but not with JDK17. If that's the case, i think that's a relatively small downside.
Thanks for the analysis. We should ditch |
I think your understanding is correct. A project using sqlite-jdbc that's compiling to java 8 wouldn't be a problem, because that project should at no point load the java classes compiled to JDK 11/17/21/.. The JDK version requirement is only enforced when actually using native-image.
I can look into that. My experience with makefiles is limitted, but it does seem like a fairly trivial change to do. With those things cleared up, if we stay on graal-sdk:22.3.2 for now, combined with the library extension rename, the checks should be all green. |
I thought you already knew that's why I offered. Else I can take care of it, it shouldn't be too hard, mostly search and replace, and remove custom logic. |
I've created #939 for the jnilib -> dylib rename and cherrypicked the changed onto this PR so I can actually validate it works for this PR. |
470fc9d
to
a48928e
Compare
merged, you can this rebase on |
updating to 23.0.0 sets the java version requirement to 17 when using native-image
…at uses System.loadLibrary
a48928e
to
d233e56
Compare
Rebased & marked as ready for review. |
thanks @kkriske ! |
GraalVM 23.0.0 has been released.
This updates the CI to this version. This release should include oracle/graal#5932 which enables the
native-exported
flow on unix and darwin systems.The
org.graalvm.sdk:graal-sdk
dependency in the pom is still set to22.3.2
, the latest release is compiled with java 17 so that would force anyone using native-image to use at least a java 17 jdk.Going forward, GraalVM releases will follow the latest LTR releases from java, so the next version (23.1.0) will likely require java 21.
This is still a draft as the CI will keep failing because the
graalvm/setup-graalvm
action does not support the latest release yet: graalvm/setup-graalvm#45