https://github.com/python/cpython/commit/138dd26337efd79b3afa84044aa364d8e2c6fe82
commit: 138dd26337efd79b3afa84044aa364d8e2c6fe82
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: vstinner <[email protected]>
date: 2026-07-03T16:48:51Z
summary:
[3.15] gh-152785: Upgrade LLVM to LLVM 21 in GitHub Action jobs (GH-152781)
(#152968)
gh-152785: Upgrade LLVM to LLVM 21 in GitHub Action jobs (GH-152781)
Upgrade LLVM to LLVM 21 in GitHub Action jobs:
* Reusable Sanitizer
* Reusable Ubuntu ("Install Clang and BOLT")
(cherry picked from commit f5b3eefbdabeedb71f0d69f60a6f8d71dc11873a)
Co-authored-by: Victor Stinner <[email protected]>
files:
M .github/workflows/reusable-san.yml
M .github/workflows/reusable-ubuntu.yml
diff --git a/.github/workflows/reusable-san.yml
b/.github/workflows/reusable-san.yml
index ef36447964cf41..aed2776b4bab71 100644
--- a/.github/workflows/reusable-san.yml
+++ b/.github/workflows/reusable-san.yml
@@ -40,11 +40,11 @@ jobs:
# Install clang
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
- sudo ./llvm.sh 20
- sudo update-alternatives --install /usr/bin/clang clang
/usr/bin/clang-20 100
- sudo update-alternatives --set clang /usr/bin/clang-20
- sudo update-alternatives --install /usr/bin/clang++ clang++
/usr/bin/clang++-20 100
- sudo update-alternatives --set clang++ /usr/bin/clang++-20
+ sudo ./llvm.sh 21
+ sudo update-alternatives --install /usr/bin/clang clang
/usr/bin/clang-21 100
+ sudo update-alternatives --set clang /usr/bin/clang-21
+ sudo update-alternatives --install /usr/bin/clang++ clang++
/usr/bin/clang++-21 100
+ sudo update-alternatives --set clang++ /usr/bin/clang++-21
if [ "${SANITIZER}" = "TSan" ]; then
# Reduce ASLR to avoid TSan crashing
diff --git a/.github/workflows/reusable-ubuntu.yml
b/.github/workflows/reusable-ubuntu.yml
index f4321cefa1b598..564ad024ec1f8a 100644
--- a/.github/workflows/reusable-ubuntu.yml
+++ b/.github/workflows/reusable-ubuntu.yml
@@ -49,9 +49,9 @@ jobs:
- name: Install Clang and BOLT
if: ${{ fromJSON(inputs.bolt-optimizations) }}
run: |
- sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh 19
- sudo apt-get install --no-install-recommends bolt-19
- echo PATH="$(llvm-config-19 --bindir):$PATH" >> $GITHUB_ENV
+ sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh 21
+ sudo apt-get install --no-install-recommends bolt-21
+ echo PATH="$(llvm-config-21 --bindir):$PATH" >> $GITHUB_ENV
- name: Configure OpenSSL env vars
run: |
echo "MULTISSL_DIR=${GITHUB_WORKSPACE}/multissl" >> "$GITHUB_ENV"
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]