aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authormerge-script <fanquake@gmail.com>2024-08-29 10:54:44 +0100
committermerge-script <fanquake@gmail.com>2024-08-29 10:54:44 +0100
commitd08bedd81f184808c274f3c49cf5d581ccc78468 (patch)
treea23c7d81b2701cf431cb06c0081eda78c18364e0 /ci
parent8f761ea742e69b8e7878b601a0d2efb23c3fe323 (diff)
parentfac587ea070fe1354708aacce33ebb9cebd35e5b (diff)
Merge bitcoin/bitcoin#30735: ci: Use C++23 in one task
fac587ea070fe1354708aacce33ebb9cebd35e5b ci: Use C++23 once for testing (MarcoFalke) fa053ab7c01c03fada91ccfce885dd32e2e830ca build: Add Centos Stream 9 EOL URL (MarcoFalke) Pull request description: There are no plans to switch to C++23 anytime soon in the next couple of years. The only place right now that is known to benefit is `src/compat/byteswap.h`. However, it is still useful to test with the option, because deprecated, removed or changed language features, as well as compiler changes that are guarded by the language version will be tested and developers can learn about them upfront. Also includes a minor doc fixup commit. ACKs for top commit: davidgumberg: ACK https://github.com/bitcoin/bitcoin/pull/30735/commits/fac587ea070fe1354708aacce33ebb9cebd35e5b TheCharlatan: ACK fac587ea070fe1354708aacce33ebb9cebd35e5b Tree-SHA512: 1b81788eb5b4da77715d8b047279de65ae6b8920d5a21fd8cc94c3b0edb588ab8ffb7eaffb2f8b7806045de1d47ca85ca629f49038eca762f3136bf380cf3c87
Diffstat (limited to 'ci')
-rwxr-xr-xci/test/00_setup_env_native_asan.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/test/00_setup_env_native_asan.sh b/ci/test/00_setup_env_native_asan.sh
index 0eeb0bc4d5..0ec30f23af 100755
--- a/ci/test/00_setup_env_native_asan.sh
+++ b/ci/test/00_setup_env_native_asan.sh
@@ -28,7 +28,8 @@ export BITCOIN_CONFIG="\
-DCMAKE_C_COMPILER=clang-18 \
-DCMAKE_CXX_COMPILER=clang++-18 \
-DCMAKE_C_FLAGS='-ftrivial-auto-var-init=pattern' \
- -DCMAKE_CXX_FLAGS='-ftrivial-auto-var-init=pattern' \
+ -DCMAKE_CXX_FLAGS='-ftrivial-auto-var-init=pattern -Wno-error=deprecated-declarations' \
+ -DAPPEND_CXXFLAGS='-std=c++23' \
-DAPPEND_CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' \
"
export CCACHE_MAXSIZE=300M