From 51590e9385cab83e4fbfbc3d0ee44efb6cfa86ce Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Tue, 6 Aug 2024 14:27:22 +0000 Subject: [PATCH] Add llvm-toolchain-19 --- .github/workflows/build.yml | 1 + setup.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e1fb2c..e1ad728 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,6 +28,7 @@ jobs: - name: test-apt-llvm run: | sudo apt install -y \ + clang-20 \ clang-19 \ clang-18 \ clang-17 \ diff --git a/setup.sh b/setup.sh index d3fc6ab..61292b5 100755 --- a/setup.sh +++ b/setup.sh @@ -8,6 +8,7 @@ curl -f -L --retry 5 https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dea { echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME main" + echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME-19 main" echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME-18 main" } | sudo tee /etc/apt/sources.list.d/llvm-toolchain.list @@ -15,6 +16,8 @@ if [[ $LSB_CODENAME != "noble" ]]; then { echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME-17 main" echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME-16 main" + echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME-15 main" + echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME-14 main" } | sudo tee -a /etc/apt/sources.list.d/llvm-toolchain.list fi