Skip to content

Commit 1873786

Browse files
Avoid Clang bug in UBSan CI
1 parent 9777e8a commit 1873786

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/reusable-san.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,13 @@ jobs:
9090
--openssl="${OPENSSL_VER}"
9191
--system=Linux
9292
--tsan
93+
# -O0 instead of the pydebug default -Og to avoid a clang 21 compile-time
94+
# blowup on some interpreter files (https://github.com/llvm/llvm-project/issues/179695)
9395
- name: Configure CPython
9496
run: >-
9597
./configure
9698
--config-cache
99+
OPT="-O0 -g"
97100
${{
98101
inputs.sanitizer == 'TSan'
99102
&& '--with-thread-sanitizer'

0 commit comments

Comments
 (0)