Skip to content

Commit 63e094e

Browse files
authored
bring your own LLVM: Add 'bookwork' codename for Debian 12 (#438)
* Add 'bookwork' codename for Debian 12 * Update bring-your-own-llvm.md Update supported Ubuntu lists * Update bring-your-own-llvm.md Use LLVM 18
1 parent 05e4810 commit 63e094e

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

content/docs/guides/build/bring-your-own-llvm.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,29 @@ Using a system-installed version of LLVM depends on your system, of course.
2626

2727
For **Debian** or **Ubuntu** you can install LLVM by adding a new apt repository. For more information about this method, see [apt.llvm.org](https://apt.llvm.org/). *Before copying the command below, please replace `xxxxx` with your distribution's codename*.
2828

29-
| Distro | Version | Codename |
30-
|--------|------- |-----------|
31-
| Ubuntu | 18.04 | `bionic` |
32-
| Ubuntu | 20.04 | `focal` |
33-
| Ubuntu | 20.10 | `groovy` |
34-
| Ubuntu | 21.04 | `hirsute` |
35-
| Ubuntu | 22.04 | `jammy` |
36-
| Debian | 10 | `buster` |
37-
| Debian | 11 | `bullseye`|
38-
| Debian | sid | `unstable`|
29+
| Distro | Version | Codename |
30+
|--------|------- |------------|
31+
| Ubuntu | 20.04 | `focal` |
32+
| Ubuntu | 22.04 | `jammy` |
33+
| Ubuntu | 23.04 | `lunar` |
34+
| Ubuntu | 23.10 | `mantic` |
35+
| Ubuntu | 24.04 | `noble` |
36+
| Ubuntu | 24.10 | `oracular` |
37+
| Debian | 10 | `buster` |
38+
| Debian | 11 | `bullseye` |
39+
| Debian | 12 | `bookworm` |
40+
| Debian | sid | `unstable` |
3941

4042
```shell
41-
echo 'deb http://apt.llvm.org/xxxxx/ llvm-toolchain-xxxxx-17 main' | sudo tee /etc/apt/sources.list.d/llvm.list
43+
echo 'deb http://apt.llvm.org/xxxxx/ llvm-toolchain-xxxxx-18 main' | sudo tee /etc/apt/sources.list.d/llvm.list
4244
```
4345

4446
After adding the apt repository for your distribution you may install the LLVM toolchain packages:
4547

4648
```shell
4749
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
4850
sudo apt-get update
49-
sudo apt-get install clang-17 llvm-17-dev lld-17 libclang-17-dev
51+
sudo apt-get install clang-18 llvm-18-dev lld-18 libclang-18-dev
5052
```
5153

5254
#### MacOS
@@ -100,7 +102,7 @@ The `go install` command will build the `tinygo` executable and store it to your
100102
```
101103
102104
### Debian LLVM repository manual addition
103-
If `sudo apt-get install clang-xx llvm-xx-dev lld-xx libclang-xx-dev` does not work, where `xx` is the LLVM version required by the TinyGo branch you are building i.e: 17, please try manually adding the repository. Run the following command and try the steps above again.
105+
If `sudo apt-get install clang-xx llvm-xx-dev lld-xx libclang-xx-dev` does not work, where `xx` is the LLVM version required by the TinyGo branch you are building i.e: 18, please try manually adding the repository. Run the following command and try the steps above again.
104106
```shell
105107
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
106108
```

0 commit comments

Comments
 (0)