Skip to content

Commit 6e2777b

Browse files
committed
Update jit/README.md to require LLVM 18 everywhere
1 parent ffd7722 commit 6e2777b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tools/jit/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ This version of CPython can be built with an experimental just-in-time compiler.
77

88
The JIT compiler does not require end users to install any third-party dependencies, but part of it must be *built* using LLVM[^why-llvm]. You are *not* required to build the rest of CPython using LLVM, or even the same version of LLVM (in fact, this is uncommon).
99

10-
LLVM version 16 is required. Both `clang` and `llvm-readobj` need to be installed and discoverable (version suffixes, like `clang-16`, are okay). It's highly recommended that you also have `llvm-objdump` available, since this allows the build script to dump human-readable assembly for the generated code.
10+
LLVM version 18 is required. Both `clang` and `llvm-readobj` need to be installed and discoverable (version suffixes, like `clang-18`, are okay). It's highly recommended that you also have `llvm-objdump` available, since this allows the build script to dump human-readable assembly for the generated code.
1111

1212
It's easy to install all of the required tools:
1313

1414
### Linux
1515

16-
Install LLVM 16 on Ubuntu/Debian:
16+
Install LLVM 18 on Ubuntu/Debian:
1717

1818
```sh
1919
wget https://apt.llvm.org/llvm.sh
2020
chmod +x llvm.sh
21-
sudo ./llvm.sh 16
21+
sudo ./llvm.sh 18
2222
```
2323

2424
### macOS

0 commit comments

Comments
 (0)