Skip to content

Commit 25335f9

Browse files
[3.13] Avoid Clang bug in UBSan CI (GH-157958) (#158508)
(cherry picked from commit c57c877) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 824836b commit 25335f9

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
@@ -67,10 +67,14 @@ jobs:
6767
env:
6868
SANITIZER: ${{ inputs.sanitizer }}
6969
SAN_LOG_OPTION: log_path=${{ github.workspace }}/san_log
70+
# gh-157958: -O2 instead of the pydebug default -Og to avoid a clang 21
71+
# compile-time blowup on some interpreter files.
72+
# (https://github.com/llvm/llvm-project/issues/179695)
7073
- name: Configure CPython
7174
run: >-
7275
./configure
7376
--config-cache
77+
OPT="-O2 -g"
7478
${{
7579
inputs.sanitizer == 'TSan'
7680
&& '--with-thread-sanitizer'

0 commit comments

Comments
 (0)