diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-09-17 11:22:53 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-03-30 11:56:06 +0200 |
commit | fa73f8a4695d5bcbd054f4c68ee2a648c808afd2 (patch) | |
tree | 45eac4ccd0e5fdf8c310c108356907eaed4ed6fb /ci/test/04_install.sh | |
parent | f4fba578294de9fa83e828a91bbccde264109f62 (diff) | |
download | bitcoin-fa73f8a4695d5bcbd054f4c68ee2a648c808afd2.tar.xz |
ci: Use clang-12 and libcxx-12 for msan
Diffstat (limited to 'ci/test/04_install.sh')
-rwxr-xr-x | ci/test/04_install.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh index e409df62eb..c1324a0b14 100755 --- a/ci/test/04_install.sh +++ b/ci/test/04_install.sh @@ -103,11 +103,11 @@ fi CI_EXEC mkdir -p "${BASE_SCRATCH_DIR}/sanitizer-output/" if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then - CI_EXEC "update-alternatives --install /usr/bin/clang++ clang++ \$(which clang++-9) 100" - CI_EXEC "update-alternatives --install /usr/bin/clang clang \$(which clang-9) 100" + CI_EXEC "update-alternatives --install /usr/bin/clang++ clang++ \$(which clang++-12) 100" + CI_EXEC "update-alternatives --install /usr/bin/clang clang \$(which clang-12) 100" CI_EXEC "mkdir -p ${BASE_SCRATCH_DIR}/msan/build/" CI_EXEC "git clone --depth=1 https://github.com/llvm/llvm-project -b llvmorg-12.0.0 ${BASE_SCRATCH_DIR}/msan/llvm-project" - CI_EXEC "cd ${BASE_SCRATCH_DIR}/msan/build/ && cmake -DLLVM_ENABLE_PROJECTS='libcxx;libcxxabi' -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=Memory -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_TARGETS_TO_BUILD=X86 ../llvm-project/llvm/" + CI_EXEC "cd ${BASE_SCRATCH_DIR}/msan/build/ && cmake -DLLVM_ENABLE_PROJECTS='libcxx;libcxxabi' -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=MemoryWithOrigins -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_TARGETS_TO_BUILD=X86 ../llvm-project/llvm/" CI_EXEC "cd ${BASE_SCRATCH_DIR}/msan/build/ && make $MAKEJOBS cxx" fi |