diff options
author | josibake <josibake@protonmail.com> | 2022-11-25 14:13:29 +0100 |
---|---|---|
committer | josibake <josibake@protonmail.com> | 2022-11-25 14:13:29 +0100 |
commit | 54dd8f51ce8815a93a6aceb36dd72bd449d6b327 (patch) | |
tree | 328c4f7d72388a838837443e9ec5966c9eced541 /ci/test | |
parent | 38d06e1561013f4ca845fd5ba6ffcc64de67f9c0 (diff) | |
download | bitcoin-54dd8f51ce8815a93a6aceb36dd72bd449d6b327.tar.xz |
ci: use ci_exec_root for clang install
Diffstat (limited to 'ci/test')
-rwxr-xr-x | ci/test/04_install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh index c25abb99ee..4915797ca4 100755 --- a/ci/test/04_install.sh +++ b/ci/test/04_install.sh @@ -130,8 +130,8 @@ 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++-12) 100" - CI_EXEC "update-alternatives --install /usr/bin/clang clang \$(which clang-12) 100" + CI_EXEC_ROOT "update-alternatives --install /usr/bin/clang++ clang++ \$(which clang++-12) 100" + CI_EXEC_ROOT "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=MemoryWithOrigins -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_TARGETS_TO_BUILD=X86 ../llvm-project/llvm/" |