Skip to content

Commit

Permalink
[clang] Disable some libraries
Browse files Browse the repository at this point in the history
Reviewed By: ezgicicek

Differential Revision: D49916202

fbshipit-source-id: b520cf8986318fbc41258cd78c2f8c881104eb7f
  • Loading branch information
skcho authored and facebook-github-bot committed Oct 4, 2023
1 parent ecd21cf commit 7706262
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions facebook-clang-plugins/clang/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7706262

Please sign in to comment.