Commit b4b8c35
CI: Build macOS FIPS202 sanitizer tests with clang 22
The macos-latest label has migrated to the macOS 26 (Tahoe) arm64 image,
whose default-toolchain ASan runtime (nixpkgs clang 21.x) deadlocks at
process startup: compiler-rt's shadow-memory init re-enters the
uninitialized allocator. This made the macOS sanitizer jobs hang until the
6h job timeout, intermittently, depending on which image a matrix leg
landed on. Same symptom as python/cpython#145199.
The fix landed upstream in LLVM >= 22 (llvm/llvm-project#191039, backported
as #192082). Build the macOS aarch64 target with clang 22 via the existing
'clang22' dev shell so it can run on macos-latest again:
- backend_tests: switch nix-shell from 'ci' to 'clang22'.
- build_kat: set the macos-latest target's nix_shell to 'clang22', and
pass nix-shell to the sanitizer step uniformly with the other steps
(it previously omitted nix-shell and fell back to the action default).
Other targets (Linux native gcc, macos-15-intel) are unchanged.
Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>1 parent 2d1cc90 commit b4b8c35
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
114 | 118 | | |
115 | 119 | | |
116 | 120 | | |
| 121 | + | |
117 | 122 | | |
118 | 123 | | |
119 | 124 | | |
| |||
186 | 191 | | |
187 | 192 | | |
188 | 193 | | |
189 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
190 | 200 | | |
191 | 201 | | |
192 | 202 | | |
| |||
0 commit comments