diff options
author | willcl-ark <will@256k1.dev> | 2023-05-22 10:46:36 +0100 |
---|---|---|
committer | willcl-ark <will@256k1.dev> | 2023-05-23 13:44:07 +0100 |
commit | 59c89447499bd9d6202269879555b8bc37373aa2 (patch) | |
tree | 448fb64a1f5f4c67c4a028de9385194710be1d47 /ci/test/00_setup_env_native_qt5.sh | |
parent | 22139f6e83a2bedd2dad9f280567d2c76c54252f (diff) | |
download | bitcoin-59c89447499bd9d6202269879555b8bc37373aa2.tar.xz |
build: disable boost multi index safe mode
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.
Diffstat (limited to 'ci/test/00_setup_env_native_qt5.sh')
-rwxr-xr-x | ci/test/00_setup_env_native_qt5.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/test/00_setup_env_native_qt5.sh b/ci/test/00_setup_env_native_qt5.sh index bb10a2a2de..3a1d7808f1 100755 --- a/ci/test/00_setup_env_native_qt5.sh +++ b/ci/test/00_setup_env_native_qt5.sh @@ -17,5 +17,5 @@ export RUN_UNIT_TESTS="false" export GOAL="install" export NO_WERROR=1 # -Werror=maybe-uninitialized export DOWNLOAD_PREVIOUS_RELEASES="true" -export BITCOIN_CONFIG="--enable-zmq --with-libs=no --with-gui=qt5 --enable-reduce-exports \ ---enable-debug CFLAGS=\"-g0 -O2 -funsigned-char\" CXXFLAGS=\"-g0 -O2 -funsigned-char\"" +export BITCOIN_CONFIG="--enable-zmq --with-libs=no --with-gui=qt5 --enable-reduce-exports --enable-debug \ +CFLAGS=\"-g0 -O2 -funsigned-char\" CPPFLAGS='-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE' CXXFLAGS=\"-g0 -O2 -funsigned-char\"" |