Skip to content

Commit a96ecad

Browse files
committed
[GR-48443] Update LLVM backend installation instructions
PullRequest: graal/15547
2 parents c6da485 + 8cb54ac commit a96ecad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/reference-manual/native-image/LLVMBackend.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ This LLVM backend enables users to [target alternative architectures](#how-to-ad
1212

1313
## Installing and Usage
1414

15-
The LLVM Backend is shipped as a separate component to Native Image and can be installed with GraalVM Updater:
15+
The LLVM Backend is not included by default as part of Native Image. To use it, you need to <a href="https://github.com/oracle/graal/blob/master/vm/README.md" target="_blank">build GraalVM from source</a> using the following <a href="https://github.com/graalvm/mx/" target="_blank">mx</a> commands:
1616
```shell
17-
gu install native-image-llvm-backend
17+
mx --dynamicimports /substratevm build
18+
export JAVA_HOME=$(mx --dynamicimports /substratevm graalvm-home)
1819
```
1920

2021
To enable the LLVM backend, pass the `-H:CompilerBackend=llvm` option to the `native-image` command.

0 commit comments

Comments
 (0)