Skip to content

Commit f7c9a28

Browse files
committed
caches: disable more components for the toolchain build
Windows builds in waves: - build build tools - build tools (compilers, debuggers, linkers, assemblers) - build runtimes (Swift runtime, standard library, experimental libraries) - build core libraries - build Swift tooling We do not need to build the C++ interop module at the moment when building the tools. This disables that and the extra content which currently does not result in any artifacts.
1 parent 35fcc37 commit f7c9a28

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cmake/caches/Windows-aarch64.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ set(LLDB_ENABLE_LIBXML2 NO CACHE BOOL "")
7373
# This requires perl which may not be available on Windows
7474
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")
7575
set(SWIFT_BUILD_ENABLE_PARSER_LIB YES CACHE BOOL "")
76+
set(SWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT NO CACHE BOOL "")
77+
set(SWIFT_BUILD_STDLIB_CXX_MODULE NO CACHE BOOL "")
7678
# static linking is not supported on Windows yet
7779
set(SWIFT_BUILD_STATIC_STDLIB NO CACHE BOOL "")
7880
set(SWIFT_BUILD_STATIC_SDK_OVERLAY NO CACHE BOOL "")

cmake/caches/Windows-x86_64.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ set(LLDB_EMBED_PYTHON_HOME NO CACHE BOOL "")
7272
# This requires perl which may not be available on Windows
7373
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")
7474
set(SWIFT_BUILD_ENABLE_PARSER_LIB YES CACHE BOOL "")
75+
set(SWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT NO CACHE BOOL "")
76+
set(SWIFT_BUILD_STDLIB_CXX_MODULE NO CACHE BOOL "")
7577
# static linking is not supported on Windows yet
7678
set(SWIFT_BUILD_STATIC_STDLIB NO CACHE BOOL "")
7779
set(SWIFT_BUILD_STATIC_SDK_OVERLAY NO CACHE BOOL "")

0 commit comments

Comments
 (0)