aboutsummaryrefslogtreecommitdiff
path: root/ci/test/01_base_install.sh
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-09-13 16:19:14 +0100
committerfanquake <fanquake@gmail.com>2023-09-14 11:12:24 +0100
commita241d6069cf0542acdd8ec6be63724da19f10720 (patch)
tree7ddd714c739863be81465a9d4c22f71003beb300 /ci/test/01_base_install.sh
parent1e9d367d0d39f9252bf8f738c216c0fe4c64a898 (diff)
downloadbitcoin-a241d6069cf0542acdd8ec6be63724da19f10720.tar.xz
ci: use LLVM 17.0.0 in MSAN jobs
See https://libcxx.llvm.org/Hardening.html as well as https://discourse.llvm.org/t/rfc-removing-the-legacy-debug-mode-from-libc/71026.
Diffstat (limited to 'ci/test/01_base_install.sh')
-rwxr-xr-xci/test/01_base_install.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/ci/test/01_base_install.sh b/ci/test/01_base_install.sh
index d8faae8340..b05d7547c8 100755
--- a/ci/test/01_base_install.sh
+++ b/ci/test/01_base_install.sh
@@ -42,7 +42,7 @@ if [ -n "$PIP_PACKAGES" ]; then
fi
if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
- git clone --depth=1 https://github.com/llvm/llvm-project -b llvmorg-16.0.6 /msan/llvm-project
+ git clone --depth=1 https://github.com/llvm/llvm-project -b "llvmorg-17.0.0-rc4" /msan/llvm-project
cmake -G Ninja -B /msan/clang_build/ \
-DLLVM_ENABLE_PROJECTS="clang" \
@@ -66,8 +66,7 @@ if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
-DCMAKE_CXX_COMPILER=clang++ \
-DLLVM_TARGETS_TO_BUILD=Native \
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF \
- -DLIBCXX_ENABLE_DEBUG_MODE=ON \
- -DLIBCXX_ENABLE_ASSERTIONS=ON \
+ -DLIBCXX_HARDENING_MODE=debug \
-S /msan/llvm-project/runtimes
ninja -C /msan/cxx_build/ "$MAKEJOBS"