Skip to content

How to compile to llvm? #9346

Answered by fniephaus
xuxiaocheng0201 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @xuxiaocheng0201,

Thanks for raising this question. I'm afraid the LLVM backend is still experimental, and we don't provide updates for them beyond the community support. However, you can try installing an older version from an earlier GraalVM for JDK 17. Something like this should work:

gu install --force --url https://github.com/graalvm/graalvm-ce-builds/releases/download/graal-23.0.1/llvm-toolchain-installable-ce-java17-linux-amd64-23.0.1.jar
gu install --force --url https://github.com/graalvm/graalvm-ce-builds/releases/download/graal-23.0.1/native-image-llvm-backend-installable-ce-java17-linux-amd64-23.0.1.jar

And yes, as of #6855, we no longer provide the LLVM backend as an instal…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xuxiaocheng0201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants