From 4d4e2591dffe8669e327826cef944345db860de3 Mon Sep 17 00:00:00 2001 From: Razvan-Liviu Varzaru Date: Mon, 9 Sep 2024 16:10:36 +0300 Subject: [PATCH] add DLLVM_DIR --- ci_build_images/msan.Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci_build_images/msan.Dockerfile b/ci_build_images/msan.Dockerfile index a4f3ef19..eb03def9 100644 --- a/ci_build_images/msan.Dockerfile +++ b/ci_build_images/msan.Dockerfile @@ -17,6 +17,8 @@ ENV PATH=$MSAN_LIBDIR/bin:$PATH # && apt-get update \ # && apt-get -y install --no-install-recommends -t bookworm-backports cmake=3.25.1-1~bpo11+1 +ENV LLVM_DIR=/usr/lib/llvm-19/lib/cmake/llvm + RUN mkdir $MSAN_LIBDIR \ && mkdir $MSAN_LIBDIR/bin \ && printf "#!/bin/sh\nunset LD_LIBRARY_PATH\nexec llvm-symbolizer-%s \"\$@\"" "${CLANG_VERSION}" > $MSAN_SYMBOLIZER_PATH \ @@ -41,6 +43,7 @@ RUN mkdir $MSAN_LIBDIR \ -S runtimes \ -B build \ -DCMAKE_BUILD_TYPE=Release \ + -DLLVM_DIR=$LLVM_DIR \ -DCMAKE_C_COMPILER=clang-${CLANG_VERSION} \ -DCMAKE_CXX_COMPILER=clang++-${CLANG_VERSION} \ -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \