File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -40,17 +40,15 @@ jobs:
4040 # Install clang
4141 wget https://apt.llvm.org/llvm.sh
4242 chmod +x llvm.sh
43+ sudo ./llvm.sh 20
44+ sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-20 100
45+ sudo update-alternatives --set clang /usr/bin/clang-20
46+ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-20 100
47+ sudo update-alternatives --set clang++ /usr/bin/clang++-20
4348
4449 if [ "${SANITIZER}" = "TSan" ]; then
45- sudo ./llvm.sh 17 # gh-121946: llvm-18 package is temporarily broken
46- sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 100
47- sudo update-alternatives --set clang /usr/bin/clang-17
48- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 100
49- sudo update-alternatives --set clang++ /usr/bin/clang++-17
5050 # Reduce ASLR to avoid TSan crashing
5151 sudo sysctl -w vm.mmap_rnd_bits=28
52- else
53- sudo ./llvm.sh 20
5452 fi
5553
5654 - name : Sanitizer option setup
You can’t perform that action at this time.
0 commit comments