Skip to content

ci: force newest LLVM/compiler-rt on macos-latest (sanitizer-hang test) - #15

Open
fornwall wants to merge 2 commits into
mainfrom
ci-bump-llvm-macos-latest
Open

ci: force newest LLVM/compiler-rt on macos-latest (sanitizer-hang test)#15
fornwall wants to merge 2 commits into
mainfrom
ci-bump-llvm-macos-latest

Conversation

@fornwall

@fornwall fornwall commented Jul 9, 2026

Copy link
Copy Markdown
Owner

This is an experiment PR testing whether a newer conda-forge LLVM / compiler-rt runtime resolves the intermittent macos-latest ctest hang in the drivers-test-conda job while keeping ASan+UBSan ON.

The compiler is not pinned: ci/conda_env_cpp.txt just lists compilers, which conda-forge resolves to its global-default clang (currently 19, older than the newest). That default is set by conda-forge's global pin in conda-forge-pinning-feedstock's conda_build_config.yaml — look up clang_compiler_version / clangxx_compiler_version to see the current default. The sanitizer runtime (compiler-rt) comes from conda-forge's LLVM, not Apple Xcode. This PR adds a step that forces the newest LLVM stack (clang/clangxx/compiler-rt/llvm-tools >= 22) into the active env so we can see if a newer sanitizer runtime fixes the hang.

The change is scoped to macos-latest only (via if: matrix.os == 'macos-latest'), so the working ubuntu-latest and macos-15-intel jobs are unaffected. Sanitizers remain enabled -- the whole point is to test the newer toolchain with ASan+UBSan still ON.

Sibling PRs #12/#13/#14 test disabling the sanitizers instead.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MGR3kc3rh5sS7a3Yn3wP7p

fornwall and others added 2 commits July 10, 2026 00:04
This is an experiment PR testing whether a newer conda-forge LLVM /
compiler-rt runtime resolves the intermittent macos-latest ctest hang
in the drivers-test-conda job while keeping ASan+UBSan ON.

The compiler is not pinned: ci/conda_env_cpp.txt just lists `compilers`,
which conda-forge resolves to its global-default clang (older than the
newest). The sanitizer runtime (compiler-rt) comes from conda-forge's
LLVM, not Apple Xcode. This adds a step that forces the newest LLVM
stack (clang/clangxx/compiler-rt/llvm-tools >= 22) into the active env
so we can see if a newer sanitizer runtime fixes the hang.

The change is scoped to macos-latest only (via `if: matrix.os ==
'macos-latest'`), so the working ubuntu-latest and macos-15-intel jobs
are unaffected. Sanitizers remain enabled -- the whole point is to test
the newer toolchain with ASan+UBSan still ON.

Sibling PRs #12/#13/#14 test disabling the sanitizers instead.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MGR3kc3rh5sS7a3Yn3wP7p
Avoids a second mamba install re-solving (and possibly diverging from or
silently no-op'ing over) the env the first solve pinned to clang 19.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant