File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,12 @@ jobs:
9696 if : ${{ startsWith(matrix.os, 'ubuntu') && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
9797 run : |
9898 apt-get install -y lsb-release wget software-properties-common gnupg
99- echo "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs) main" | tee -a /etc/apt/sources.list.d/llvm.list
100- echo "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-defaults main" | tee -a /etc/apt/sources.list.d/llvm.list
101- apt-get update -y
102- apt-get install -y llvm-defaults clang
99+ wget https://apt.llvm.org/llvm.sh
100+ chmod +x llvm.sh
101+ ./llvm.sh 18 # install LLVM version 18
102+ update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-18 18
103+ update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 18
104+ update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 18
103105 - name : Setup Python
104106 if : ${{ startsWith(matrix.os, 'ubuntu') && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
105107 run : |
You can’t perform that action at this time.
0 commit comments