diff --git a/.github/workflows/reusable-san.yml b/.github/workflows/reusable-san.yml index 449bddadf8b2c7..c518887f2aac37 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'