Skip to content

Commit 57d8b51

Browse files
authored
Update Linux Instructions: Add LLVM Repository for Clang 21 (#768)
Adds steps to CONTRIBUTING.md for adding the LLVM repository and GPG key before installing Clang 21 and related tools on Linux.
1 parent dd1002a commit 57d8b51

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ If you encounter any issues when following along with this file please don't hes
2121

2222
##### For Linux
2323

24+
Before installing the dependencies, you need to add the LLVM repository and GPG key to get Clang 21:
25+
26+
```bash
27+
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
28+
sudo add-apt-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-21 main"
29+
sudo apt update
30+
```
31+
32+
Then install the required packages:
33+
2434
```bash
2535
xargs sudo apt-get install < Aptfile
2636
```

0 commit comments

Comments
 (0)