Skip to content

Commit 95102bc

Browse files
committed
build-script: remove dead CMake options for Swift
The build system does not support fine grained control over the tools. Ideally we would do this by hooking into the llvm distribution mechanism.
1 parent 171e12f commit 95102bc

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

utils/build-script-impl

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,23 +1751,6 @@ for host in "${ALL_HOSTS[@]}"; do
17511751
"${swift_cmake_options[@]}"
17521752
)
17531753

1754-
if [[ "${BUILD_TOOLCHAIN_ONLY}" ]]; then
1755-
cmake_options+=(
1756-
-DSWIFT_TOOL_SIL_OPT_BUILD=FALSE
1757-
-DSWIFT_TOOL_SWIFT_IDE_TEST_BUILD=FALSE
1758-
-DSWIFT_TOOL_SWIFT_REMOTEAST_TEST_BUILD=FALSE
1759-
-DSWIFT_TOOL_LLDB_MODULEIMPORT_TEST_BUILD=FALSE
1760-
-DSWIFT_TOOL_SIL_EXTRACT_BUILD=FALSE
1761-
-DSWIFT_TOOL_SWIFT_LLVM_OPT_BUILD=FALSE
1762-
-DSWIFT_TOOL_SWIFT_SDK_ANALYZER_BUILD=FALSE
1763-
-DSWIFT_TOOL_SWIFT_SDK_DIGESTER_BUILD=FALSE
1764-
-DSWIFT_TOOL_SOURCEKITD_TEST_BUILD=FALSE
1765-
-DSWIFT_TOOL_SOURCEKITD_REPL_BUILD=FALSE
1766-
-DSWIFT_TOOL_COMPLETE_TEST_BUILD=FALSE
1767-
-DSWIFT_TOOL_SWIFT_REFLECTION_DUMP_BUILD=FALSE
1768-
)
1769-
fi
1770-
17711754
cmake_options=(
17721755
"${cmake_options[@]}"
17731756
-DCMAKE_INSTALL_PREFIX:PATH="$(get_host_install_prefix ${host})"

0 commit comments

Comments
 (0)