From 5ee2e2aefce04154ae473c99e4257e38e9d44e67 Mon Sep 17 00:00:00 2001 From: Thiago Pradi Date: Sun, 2 Nov 2025 15:18:20 -0300 Subject: [PATCH 1/2] Updating setup instructions --- CONTRIBUTING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 04f6f9ad0..4b425a3d1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,6 +21,17 @@ If you encounter any issues when following along with this file please don't hes ##### For Linux +Before installing the dependencies, you need to add the LLVM repository and GPG key to get Clang 21: + +```bash +wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - +sudo add-apt-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-19 main" +sudo add-apt-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-21 main" +sudo apt update +``` + +Then install the required packages: + ```bash xargs sudo apt-get install < Aptfile ``` From 29531cb889808accbbf3c74b83fccee824638bc8 Mon Sep 17 00:00:00 2001 From: Thiago Pradi Date: Sun, 2 Nov 2025 15:21:52 -0300 Subject: [PATCH 2/2] No need for 19 --- CONTRIBUTING.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4b425a3d1..3167aa105 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,6 @@ Before installing the dependencies, you need to add the LLVM repository and GPG ```bash wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - -sudo add-apt-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-19 main" sudo add-apt-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-21 main" sudo apt update ```