From 4485965e7558d0105d128a337be0e158bb181acb Mon Sep 17 00:00:00 2001 From: Alexandru Geana Date: Tue, 31 Oct 2023 16:26:12 +0100 Subject: [PATCH] Fuzzing: MSAN docker container builds llvm for host --- resources/fuzzing/Docker.fuzzing_msan | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/fuzzing/Docker.fuzzing_msan b/resources/fuzzing/Docker.fuzzing_msan index 238b5a34..30175392 100644 --- a/resources/fuzzing/Docker.fuzzing_msan +++ b/resources/fuzzing/Docker.fuzzing_msan @@ -22,7 +22,7 @@ RUN cmake -GNinja -S llvm -B build-llvm \ -DLLVM_ENABLE_PROJECTS="clang;lld;clang-tools-extra" \ -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;compiler-rt;libunwind" \ -DLLVM_INSTALL_TOOLCHAIN_ONLY=YES \ - -DLLVM_TARGETS_TO_BUILD="X86" \ + -DLLVM_TARGETS_TO_BUILD="host" \ -DCMAKE_INSTALL_PREFIX="/llvm-msan/install" \ -DLLVM_ENABLE_LLVM_LIBC=YES \ -DLLVM_ENABLE_LIBCXX=YES @@ -37,7 +37,7 @@ RUN cmake -GNinja -S runtimes -B build-runtimes-msan \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;compiler-rt;libunwind" \ -DLLVM_USE_SANITIZER=MemoryWithOrigins \ - -DLLVM_TARGETS_TO_BUILD="X86" \ + -DLLVM_TARGETS_TO_BUILD="host" \ -DCMAKE_INSTALL_PREFIX="/llvm-msan/install-runtimes-msan" \ -DLLVM_ENABLE_LLVM_LIBC=YES \ -DLLVM_ENABLE_LIBCXX=YES