summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-07-30 15:30:52 (GMT)
committerGitHub <noreply@github.com>2024-07-30 15:30:52 (GMT)
commit8fb88b22b7a932ff16002dd19e904f9cafd59e9f (patch)
tree886e510dda89568cc9a05749f1f58d083247a4a5
parentd1a1bca1f0550a4715f1bf32b1586caa7bc4487b (diff)
downloadcpython-8fb88b22b7a932ff16002dd19e904f9cafd59e9f.zip
cpython-8fb88b22b7a932ff16002dd19e904f9cafd59e9f.tar.gz
cpython-8fb88b22b7a932ff16002dd19e904f9cafd59e9f.tar.bz2
gh-121946: Temporarily switch to llvm-17 in TSan CI again (GH-122466)
The Ubuntu package for llvm-18 is broken
-rw-r--r--.github/workflows/reusable-tsan.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/reusable-tsan.yml b/.github/workflows/reusable-tsan.yml
index b6d5d8f..27f4eac 100644
--- a/.github/workflows/reusable-tsan.yml
+++ b/.github/workflows/reusable-tsan.yml
@@ -36,11 +36,11 @@ jobs:
# Install clang-18
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
- sudo ./llvm.sh 18
- sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 100
- sudo update-alternatives --set clang /usr/bin/clang-18
- sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 100
- sudo update-alternatives --set clang++ /usr/bin/clang++-18
+ sudo ./llvm.sh 17 # gh-121946: llvm-18 package is temporarily broken
+ sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 100
+ sudo update-alternatives --set clang /usr/bin/clang-17
+ sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-17 100
+ sudo update-alternatives --set clang++ /usr/bin/clang++-17
# Reduce ASLR to avoid TSAN crashing
sudo sysctl -w vm.mmap_rnd_bits=28
- name: TSAN Option Setup