How to compile to llvm? #9346
-
I added graalvm version:
I saw LLVMBackend, but failed during the build process. And I thought it shouldn't be such complex. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 installable component and instead recommend building it from source. I will follow up with the team and see if we can make it easier for users to try out the LLVM backend. Hope this helps! -- Fabio |
Beta Was this translation helpful? Give feedback.
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:
And yes, as of #6855, we no longer provide the LLVM backend as an instal…