Skip to content

Commit

Permalink
Build: Disable external libraries for with-batteries build
Browse files Browse the repository at this point in the history
* build/unix/release-with-batteries.sh: When configuring LLVM/Clang,
  disable features that require non-included libraries (libedit,
  libxml2, zlib, zstd).
  • Loading branch information
housel committed Jul 19, 2023
1 parent 2eaf8cc commit 9c3bad0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/unix/release-with-batteries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ fi
-DLLVM_ENABLE_PROJECTS="llvm;clang;lld" \
${RT_OPTS} \
-DLLVM_ENABLE_TERMINFO=OFF \
-DLLVM_ENABLE_LIBEDIT=OFF \
-DLLVM_ENABLE_LIBXML2=OFF \
-DLLVM_ENABLE_ZLIB=OFF \
-DLLVM_ENABLE_ZSTD=OFF \
-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON \
-DLLVM_BUILD_TOOLS=OFF \
-DLLVM_BUILD_UTILS=OFF \
Expand All @@ -101,6 +105,7 @@ fi
-DLLVM_TOOL_LLVM_SPECIAL_CASE_LIST_FUZZER_BUILD=OFF \
-DLLVM_TOOL_LLVM_YAML_NUMERIC_PARSER_FUZZER_BUILD=OFF \
-DLLVM_INCLUDE_TESTS=OFF \
-DCLANG_ENABLE_LIBXML2:BOOL=OFF \
-DCLANG_ENABLE_STATIC_ANALYZER=OFF \
-DCLANG_ENABLE_ARCMT=OFF \
-DCLANG_INCLUDE_DOCS=OFF \
Expand Down

0 comments on commit 9c3bad0

Please sign in to comment.