mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Make the llvm-include-tests flag actually do something
Before this patch, it would not actually do anything unless compute_cmake_llvm_tool_disable_flags() was called, which is currently dead code, in the state of build-script-impl currently.
This commit is contained in:
@@ -1973,6 +1973,13 @@ for host in "${ALL_HOSTS[@]}"; do
|
||||
-DCLANG_TOOL_CLANG_FORMAT_BUILD=NO
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ $(true_false "${LLVM_INCLUDE_TESTS}") == "FALSE" ]]; then
|
||||
cmake_options+=(
|
||||
-DLLVM_INCLUDE_TESTS=NO
|
||||
-DCLANG_INCLUDE_TESTS=NO
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ $(is_cross_tools_host ${host}) ]] ; then
|
||||
cmake_options=(
|
||||
|
||||
Reference in New Issue
Block a user