https://github.com/python/cpython/commit/8b1df7ac70e624a87c21da96aea5548334f148b6
commit: 8b1df7ac70e624a87c21da96aea5548334f148b6
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2026-09-30T15:27:58Z
summary:

[3.15] Avoid Clang bug in UBSan CI (GH-157958) (#158506)

Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>

files:
M .github/workflows/reusable-san.yml

diff --git a/.github/workflows/reusable-san.yml 
b/.github/workflows/reusable-san.yml
index 6b4a43b259638e..ad3232743874d6 100644
--- a/.github/workflows/reusable-san.yml
+++ b/.github/workflows/reusable-san.yml
@@ -90,10 +90,14 @@ jobs:
         --openssl="${OPENSSL_VER}"
         --system=Linux
         --tsan
+    # gh-157958: -O2 instead of the pydebug default -Og to avoid a clang 21
+    # compile-time blowup on some interpreter files.
+    # (https://github.com/llvm/llvm-project/issues/179695)
     - name: Configure CPython
       run: >-
         ./configure
         --config-cache
+        OPT="-O2 -g"
         ${{
           inputs.sanitizer == 'TSan'
           && '--with-thread-sanitizer'

_______________________________________________
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]

Reply via email to