Skip to content

Commit eaf9ec9

Browse files
committed
Relax LLVM requirements in the install guide
Newer versions of LLVM generally _should_ work with the one we target (at least now that we target LLVM 17 instead of 16 or even 15), though it's still preferred to install a package that matches the target version. In practical terms this means that building Inko on Arch Linux shouldn't be that difficult after all.
1 parent 42b7ccc commit eaf9ec9

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/source/setup/installation.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,17 @@ isn't supported.
2121

2222
- A 64-bits little-endian platform
2323
- Rust 1.78 or newer
24-
- LLVM 17
24+
- LLVM 17 or newer
2525
- A C compiler such as [GCC](https://gcc.gnu.org/) or
2626
[clang](https://clang.llvm.org/)
2727
- Git, for managing packages using the `inko pkg` command
2828

29+
::: note
30+
While using newer versions of LLVM may work, it's possible for a newer version
31+
to introduce breaking changes. As such, we recommend only using a newer version
32+
of LLVM if your platform doesn't offer a package for the version listed above.
33+
:::
34+
2935
## Cross-platform
3036

3137
The easiest way to install Inko is to use Inko's own version manager:
@@ -207,13 +213,6 @@ necessary dependencies.
207213
sudo pacman -Sy llvm rust git base-devel
208214
```
209215

210-
::: note
211-
Arch Linux being a rolling release distribution means the `llvm` package could
212-
be upgraded to a newer (and incompatible) version of LLVM. If this is the case,
213-
you'll need to change the package name to e.g. `llvm17` and install it from the
214-
[AUR](https://aur.archlinux.org/).
215-
:::
216-
217216
### Alpine
218217

219218
::: warn

0 commit comments

Comments
 (0)