File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -1625,6 +1625,12 @@ for host in "${ALL_HOSTS[@]}"; do
1625
1625
-DLLVM_ENABLE_PROJECTS=" $( join " ;" ${llvm_enable_projects[@]} ) "
1626
1626
)
1627
1627
1628
+ # NOTE: This is not a dead option! It is relied upon for certain
1629
+ # bots/build-configs!
1630
+ #
1631
+ # TODO: In the future when we are always cross compiling and
1632
+ # using Toolchain files, we should put this in either a
1633
+ # toolchain file or a cmake cache.
1628
1634
if [[ " ${BUILD_TOOLCHAIN_ONLY} " ]]; then
1629
1635
cmake_options+=(
1630
1636
-DLLVM_BUILD_TOOLS=NO
@@ -1802,6 +1808,23 @@ for host in "${ALL_HOSTS[@]}"; do
1802
1808
" ${swift_cmake_options[@]} "
1803
1809
)
1804
1810
1811
+ if [[ " ${BUILD_TOOLCHAIN_ONLY} " ]]; then
1812
+ cmake_options+=(
1813
+ -DSWIFT_TOOL_SIL_OPT_BUILD=FALSE
1814
+ -DSWIFT_TOOL_SWIFT_IDE_TEST_BUILD=FALSE
1815
+ -DSWIFT_TOOL_SWIFT_REMOTEAST_TEST_BUILD=FALSE
1816
+ -DSWIFT_TOOL_LLDB_MODULEIMPORT_TEST_BUILD=FALSE
1817
+ -DSWIFT_TOOL_SIL_EXTRACT_BUILD=FALSE
1818
+ -DSWIFT_TOOL_SWIFT_LLVM_OPT_BUILD=FALSE
1819
+ -DSWIFT_TOOL_SWIFT_SDK_ANALYZER_BUILD=FALSE
1820
+ -DSWIFT_TOOL_SWIFT_SDK_DIGESTER_BUILD=FALSE
1821
+ -DSWIFT_TOOL_SOURCEKITD_TEST_BUILD=FALSE
1822
+ -DSWIFT_TOOL_SOURCEKITD_REPL_BUILD=FALSE
1823
+ -DSWIFT_TOOL_COMPLETE_TEST_BUILD=FALSE
1824
+ -DSWIFT_TOOL_SWIFT_REFLECTION_DUMP_BUILD=FALSE
1825
+ )
1826
+ fi
1827
+
1805
1828
cmake_options=(
1806
1829
" ${cmake_options[@]} "
1807
1830
-DCMAKE_INSTALL_PREFIX:PATH=" $( get_host_install_prefix ${host} ) "
You can’t perform that action at this time.
0 commit comments