0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-14 11:26:09 -05:00

ci: build multiprocess with Tsan

This commit is contained in:
Sjors Provoost 2025-01-27 10:04:34 +01:00
parent 9690265f28
commit 8a7bcdbaa5
No known key found for this signature in database
GPG key ID: 57FF9BDBCC301009
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@ export CI_IMAGE_NAME_TAG="docker.io/ubuntu:24.04"
export APT_LLVM_V="19"
export PACKAGES="clang-${APT_LLVM_V} llvm-${APT_LLVM_V} libclang-rt-${APT_LLVM_V}-dev libc++abi-${APT_LLVM_V}-dev libc++-${APT_LLVM_V}-dev python3-zmq"
export DEP_OPTS="CC=clang-${APT_LLVM_V} CXX='clang++-${APT_LLVM_V} -stdlib=libc++' MULTIPROCESS=1"
export LIBMULTIPROCESS_CMAKE_OPTIONS="-DCMAKE_CXX_FLAGS=-fsanitize=thread"
export GOAL="install"
export BITCOIN_CONFIG="-DWITH_ZMQ=ON -DSANITIZERS=thread \
-DAPPEND_CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER -DDEBUG_LOCKCONTENTION -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES'"

View file

@ -3,7 +3,7 @@ $(package)_local_dir=../src/ipc/libmultiprocess
$(package)_dependencies=native_capnp
define $(package)_config_cmds
$($(package)_cmake) .
$($(package)_cmake) . $(LIBMULTIPROCESS_CMAKE_OPTIONS)
endef
define $(package)_build_cmds