We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7778d5 commit 3a6ff1bCopy full SHA for 3a6ff1b
.github/workflows/reusable-tsan.yml
@@ -29,7 +29,14 @@ jobs:
29
- name: Install Dependencies
30
run: |
31
sudo ./.github/workflows/posix-deps-apt.sh
32
- sudo apt install -y clang
+ # Install clang-18
33
+ wget https://apt.llvm.org/llvm.sh
34
+ chmod +x llvm.sh
35
+ sudo ./llvm.sh 18
36
+ sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 100
37
+ sudo update-alternatives --set clang /usr/bin/clang-18
38
+ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 100
39
+ sudo update-alternatives --set clang++ /usr/bin/clang++-18
40
# Reduce ASLR to avoid TSAN crashing
41
sudo sysctl -w vm.mmap_rnd_bits=28
42
- name: TSAN Option Setup
0 commit comments