FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Avoid Clang bug in UBSan CI (#157958) · python/cpython@c57c877 · GitHub

Repository navigation

Commit c57c877

Browse files
Avoid Clang bug in UBSan CI (#157958)
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 069c74a commit c57c877

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
@@ -90,10 +90,14 @@ jobs:
9090
--openssl="${OPENSSL_VER}"
9191
--system=Linux
9292
--tsan
93+
# gh-157958: -O2 instead of the pydebug default -Og to avoid a clang 21
94+
# compile-time blowup on some interpreter files.
95+
# (https://github.com/llvm/llvm-project/issues/179695)
9396
- name: Configure CPython
9497
run: >-
9598
./configure
9699
--config-cache
100+
OPT="-O2 -g"
97101
${{
98102
inputs.sanitizer == 'TSan'
99103
&& '--with-thread-sanitizer'

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL