mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
59c8944749
Disable boost multi index safe mode by default when configuring with --enable-debug. This option can cause transactions to take a long time to be accepted into the mempool under certain conditions; iterator destruction takes O(n) time vs O(1) as they are stored in a singly linked list. See 27586 for more information. Re-enable it on the CI builds which previously had it enabled. Re-enable it on the msan fuzz target so that we have fuzz tasks testing with it enabeld and disabled in this repo.
18 lines
715 B
Bash
Executable file
18 lines
715 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2020-2022 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 HOST=i686-pc-linux-gnu
|
|
export CONTAINER_NAME=ci_i686_multiprocess
|
|
export CI_IMAGE_NAME_TAG=ubuntu:20.04
|
|
export PACKAGES="cmake python3 llvm clang g++-multilib"
|
|
export DEP_OPTS="DEBUG=1 MULTIPROCESS=1"
|
|
export GOAL="install"
|
|
export BITCOIN_CONFIG="--enable-debug CC='clang -m32' CXX='clang++ -m32' \
|
|
LDFLAGS='--rtlib=compiler-rt -lgcc_s' CPPFLAGS='-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE'"
|
|
export TEST_RUNNER_ENV="BITCOIND=bitcoin-node"
|
|
export TEST_RUNNER_EXTRA="--nosandbox"
|