mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
a2c820c9f0
TSan builds export all sorts of symbols that aren't part of the allowlist and report sanitizer failures when enabled with glibc compatibility enabled. The result of `check-symbols` is valuable but Bitcoin does not run them during their CI runs and for certain developer-oriented builds, it's proving to be more of an obstruction. It will still be enabled for all other builds and will prove to be important in backporting Guix pull requests, a finger on the pulse, but that doesn't apply to dev-oriented builds.
19 lines
1.1 KiB
Bash
Executable File
19 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2019 The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
export CONTAINER_NAME=ci_native_tsan
|
|
export PACKAGES="clang-8 llvm-8 python3-zmq qtbase5-dev qttools5-dev-tools libevent-dev bsdmainutils libboost-filesystem-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev"
|
|
export DEP_OPTS="NO_UPNP=1 DEBUG=1"
|
|
export TEST_RUNNER_EXTRA="--extended --exclude feature_pruning,feature_dbcrash,wallet_multiwallet.py" # Temporarily suppress ASan heap-use-after-free (see issue #14163)
|
|
export GOAL="install"
|
|
export BITCOIN_CONFIG="--enable-zmq --enable-reduce-exports --enable-crash-hooks --enable-suppress-external-warnings --with-sanitizers=thread"
|
|
export BITCOIN_CONFIG="${BITCOIN_CONFIG} CC=clang-15 CXX=clang++-15 CXXFLAGS=-Werror=thread-safety"
|
|
export CPPFLAGS="-DDEBUG_LOCKORDER -DENABLE_DASH_DEBUG -DARENA_DEBUG"
|
|
export PYZMQ=true
|
|
export RUN_SYMBOL_TESTS=false
|