You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/guides/build/bring-your-own-llvm.md
+15-13Lines changed: 15 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -26,27 +26,29 @@ Using a system-installed version of LLVM depends on your system, of course.
26
26
27
27
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*.
28
28
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`|
39
41
40
42
```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
42
44
```
43
45
44
46
After adding the apt repository for your distribution you may install the LLVM toolchain packages:
@@ -100,7 +102,7 @@ The `go install` command will build the `tinygo` executable and store it to your
100
102
```
101
103
102
104
### 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.
0 commit comments