From 770626230f0a8fb79d25316423e84d8281b0ded7 Mon Sep 17 00:00:00 2001 From: Sungkeun Cho Date: Wed, 4 Oct 2023 12:34:06 -0700 Subject: [PATCH] [clang] Disable some libraries Reviewed By: ezgicicek Differential Revision: D49916202 fbshipit-source-id: b520cf8986318fbc41258cd78c2f8c881104eb7f --- facebook-clang-plugins/clang/setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/facebook-clang-plugins/clang/setup.sh b/facebook-clang-plugins/clang/setup.sh index ee53fbe438f..1fedd3cc863 100755 --- a/facebook-clang-plugins/clang/setup.sh +++ b/facebook-clang-plugins/clang/setup.sh @@ -196,6 +196,10 @@ if [[ "$PLATFORM" = "Linux" ]] && [[ -n "${PLATFORM_ENV}" ]] ; then -DLLVM_ENABLE_PROJECTS="clang;compiler-rt" -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" -DZLIB_INCLUDE_DIR="$ZLIB/include" + -DLLVM_ENABLE_LIBXML2=Off + -DLLVM_ENABLE_TERMINFO=Off + -DLLVM_ENABLE_Z3_SOLVER=Off + -DLLVM_ENABLE_ZSTD=Off ) else CMAKE_ARGS+=(-DLLVM_ENABLE_PROJECTS="clang;compiler-rt;openmp"