-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
[WIP] Build binaries for Mill Client using Graal VM native-image #4044
Conversation
TBD:
@lihaoyi |
@ajaychandran lets retain the existing assembly for now; we'll likely want to offer both runners for a while until we have confidence in the robustness of the nee one, and even then it would be nice to have a fallback (e.g. in OS/architectures the new one doesnt support) |
e936737
to
191f88f
Compare
Maybe, we should just use the |
Going to leave out windows support and cross-platform mill artifact publishing jobs to a follow up PR, but the main user-land native image workflows and Mill native image construction seems to work |
Merged this; thanks for the contribution @ajaychandran, I'll pay out 1/3 of the bounty (500USD) for the work you did. Will open up follow up tickets for the other parts (publishing Mill artifacts, windows, etc.) |
This PR builds binaries for Mill using Graal VM native-image and adds Java/Scala/Kotlin examples for building native images.
Execution time for
mill --version
, with server running, shows over 5x improvement.Resolves #4007.