Skip to content

Commit 95d1d90

Browse files
aykevldeadprogram
authored andcommitted
guides: LLVM 16 is now the default, so adjust the docs
1 parent 49ffdb3 commit 95d1d90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/guides/build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ For **Debian** or **Ubuntu** you can install LLVM by adding a new apt repository
4949
| Debian | sid | `unstable`|
5050

5151
```shell
52-
echo 'deb http://apt.llvm.org/xxxxx/ llvm-toolchain-xxxxx-15 main' | sudo tee /etc/apt/sources.list.d/llvm.list
52+
echo 'deb http://apt.llvm.org/xxxxx/ llvm-toolchain-xxxxx-16 main' | sudo tee /etc/apt/sources.list.d/llvm.list
5353
```
5454

5555
After adding the apt repository for your distribution you may install the LLVM toolchain packages:
@@ -63,7 +63,7 @@ sudo apt-get install clang-16 llvm-16-dev lld-16 libclang-16-dev
6363
For **MacOS**, you can install LLVM through [Homebrew](https://formulae.brew.sh/formula/llvm). The Clang/LLVM version from Apple is not supported by TinyGo.
6464

6565
```shell
66-
brew install llvm
66+
brew install llvm@16
6767
```
6868

6969
For **Fedora** users you can install LLVM from the repository. Note that the version of LLVM [varies by Fedora version](https://packages.fedoraproject.org/pkgs/llvm/llvm-libs/), for example Fedora 37 has LLVM 15.

0 commit comments

Comments
 (0)