From 96527cd51e0a8aa6ba094863a692a9e9ecb420e8 Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 20 Jun 2023 17:14:06 +0100 Subject: [PATCH 1/2] ci: use LLVM 16.0.6 in MSAN jobs --- ci/test/01_base_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/test/01_base_install.sh b/ci/test/01_base_install.sh index 230288bc6c7ba..b5d2dbe9226fa 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.5 "${BASE_SCRATCH_DIR}"/msan/llvm-project + git clone --depth=1 https://github.com/llvm/llvm-project -b llvmorg-16.0.6 "${BASE_SCRATCH_DIR}"/msan/llvm-project cmake -G Ninja -B "${BASE_SCRATCH_DIR}"/msan/clang_build/ -DLLVM_ENABLE_PROJECTS="clang" \ -DCMAKE_BUILD_TYPE=Release \ From 682274aab00ae9ab3f0d8cc81243b8115797a088 Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 20 Jun 2023 17:16:22 +0100 Subject: [PATCH 2/2] ci: install llvm-symbolizer in MSAN jobs --- ci/test/01_base_install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/test/01_base_install.sh b/ci/test/01_base_install.sh index b5d2dbe9226fa..76cde42161a13 100755 --- a/ci/test/01_base_install.sh +++ b/ci/test/01_base_install.sh @@ -55,6 +55,7 @@ if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then update-alternatives --install /usr/bin/clang++ clang++ "${BASE_SCRATCH_DIR}"/msan/clang_build/bin/clang++ 100 update-alternatives --install /usr/bin/clang clang "${BASE_SCRATCH_DIR}"/msan/clang_build/bin/clang 100 + update-alternatives --install /usr/bin/llvm-symbolizer llvm-symbolizer "${BASE_SCRATCH_DIR}"/msan/clang_build/bin/llvm-symbolizer 100 cmake -G Ninja -B "${BASE_SCRATCH_DIR}"/msan/cxx_build/ -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi' \ -DCMAKE_BUILD_TYPE=Release \