ci: keep tsan-instrumented libzmq out of non-tsan environments

- the shared buildcache holds the instrumented libzmq/libsodium; spec
  reuse picked them up for gcc@15 jobs of the latest and boost187
  environments, crashing every test in fork() under libtsan
- exclude them from reuse in both environments

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-02 14:20:10 +00:00
committed by Dennis Klein
parent 8c60e8f1f7
commit f876b58363
2 changed files with 14 additions and 0 deletions

View File

@@ -9,6 +9,13 @@ spack:
concretizer:
targets:
granularity: generic
reuse:
# the shared buildcache also holds the ThreadSanitizer-instrumented
# libzmq/libsodium of the tsan environment; reusing them here would
# link an instrumented library into uninstrumented binaries
exclude:
- "libzmq cflags=-fsanitize=thread"
- "libsodium cflags=-fsanitize=thread"
packages:
all:

View File

@@ -9,6 +9,13 @@ spack:
concretizer:
targets:
granularity: generic
reuse:
# the shared buildcache also holds the ThreadSanitizer-instrumented
# libzmq/libsodium of the tsan environment; reusing them here would
# link an instrumented library into uninstrumented binaries
exclude:
- "libzmq cflags=-fsanitize=thread"
- "libsodium cflags=-fsanitize=thread"
packages:
all: