Skip to content

Commit 06f875c

Browse files
miss-islingtonStanFromIrelandvstinner
authored
[3.14] Avoid Clang bug in UBSan CI (GH-157958) (#158505)
(cherry picked from commit c57c877) Co-authored-by: Stan Ulbrych <stan@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent c66df4e commit 06f875c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,14 @@ jobs:
9595
--openssl="${OPENSSL_VER}"
9696
--system=Linux
9797
--tsan
98+
# gh-157958: -O2 instead of the pydebug default -Og to avoid a clang 21
99+
# compile-time blowup on some interpreter files.
100+
# (https://github.com/llvm/llvm-project/issues/179695)
98101
- name: Configure CPython
99102
run: >-
100103
./configure
101104
--config-cache
105+
OPT="-O2 -g"
102106
${{
103107
inputs.sanitizer == 'TSan'
104108
&& '--with-thread-sanitizer'

0 commit comments

Comments
 (0)