Skip to content

Commit 43d0931

Browse files
committed
ci: build TSan with clang 15 and add -Werror=thread-safety
1 parent 814e036 commit 43d0931

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/test/00_setup_env_native_tsan.sh

+1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ export DEP_OPTS="NO_UPNP=1 DEBUG=1"
1111
export TEST_RUNNER_EXTRA="--extended --exclude feature_pruning,feature_dbcrash,wallet_multiwallet.py" # Temporarily suppress ASan heap-use-after-free (see issue #14163)
1212
export GOAL="install"
1313
export BITCOIN_CONFIG="--enable-zmq --enable-reduce-exports --enable-crash-hooks --with-sanitizers=thread"
14+
export BITCOIN_CONFIG="${BITCOIN_CONFIG} CC=clang-15 CXX=clang++-15 CXXFLAGS=-Werror=thread-safety"
1415
export CPPFLAGS="-DDEBUG_LOCKORDER -DENABLE_DASH_DEBUG -DARENA_DEBUG"
1516
export PYZMQ=true

0 commit comments

Comments
 (0)