Skip to content

Commit c6971a2

Browse files
authored
Replace LLVM19 with 20 in readme (#231)
1 parent 379d105 commit c6971a2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This LLVM C backend has been resurrected by Julia Computing with various improve
66
Installation instructions
77
=========================
88

9-
This version of the LLVM C backend works with LLVM 19, for older versions please check the [tags](https://github.com/JuliaHubOSS/llvm-cbe/tags).
9+
This version of the LLVM C backend works with LLVM 20, for older versions please check the [tags](https://github.com/JuliaHubOSS/llvm-cbe/tags).
1010

1111
Step 1: Installing LLVM
1212
=======================
@@ -26,10 +26,10 @@ On CentOS, install the llvm-devel package:
2626

2727
On Debian and derivatives, install the llvm-dev package via:
2828
```sh
29-
~$ apt install llvm-19-dev clang-19 ninja-build
29+
~$ apt install llvm-20-dev clang-20 ninja-build
3030
```
3131

32-
Note: this project uses LLVM 19, so make sure that the package manager is installing it and not some other version. At the time of writing, [`Ubuntu 24.04 LTS` installs version 18](https://launchpad.net/ubuntu/noble/+package/llvm-dev).
32+
Note: this project uses LLVM 20, so make sure that the package manager is installing it and not some other version. At the time of writing, [`Ubuntu 24.04 LTS` installs version 18](https://launchpad.net/ubuntu/noble/+package/llvm-dev).
3333

3434
Or compile LLVM yourself:
3535
-----------------------------
@@ -39,7 +39,7 @@ The first step is to compile LLVM on your machine
3939
(this assumes an in-tree build, but out-of-tree will also work):
4040

4141
```sh
42-
~$ git clone --single-branch --branch llvmorg-19.1.1 --depth 1 https://github.com/llvm/llvm-project.git
42+
~$ git clone --single-branch --branch llvmorg-20.1.8 --depth 1 https://github.com/llvm/llvm-project.git
4343
~$ cd llvm-project
4444
llvm-project$ mkdir llvm/build
4545
llvm-project$ cd llvm/build
@@ -77,7 +77,7 @@ If llvm-cbe compiles, you should be able to run it with the following commands.
7777
llvm-cbe$ cd test/selectionsort
7878
selectionsort$ ls
7979
main.c
80-
selectionsort$ clang-19 -S -emit-llvm -g main.c
80+
selectionsort$ clang-20 -S -emit-llvm -g main.c
8181
selectionsort$ ls
8282
main.c main.ll
8383
selectionsort$ ../../build/tools/llvm-cbe/llvm-cbe main.ll

0 commit comments

Comments
 (0)