Skip to content

Commit 4ea5c33

Browse files
authored
Merge pull request #78687 from Steelskin/fabrice/add-stdlib-cache-macos
[caches] Add cache files for macOS Runtime builds
2 parents 7d6ff86 + 5d90af9 commit 4ea5c33

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
set(SWIFT_HOST_VARIANT_SDK OSX CACHE STRING "")
2+
set(SWIFT_HOST_VARIANT_ARCH arm64 CACHE STRING "")
3+
set(SWIFT_DARWIN_SUPPORTED_ARCHS arm64 CACHE STRING "")
4+
set(SWIFT_PRIMARY_VARIANT_ARCH arm64 CACHE STRING "")
5+
6+
# NOTE(compnerd) disable the tools, we are trying to build just the standard
7+
# library.
8+
set(SWIFT_INCLUDE_TOOLS NO CACHE BOOL "")
9+
10+
# NOTE(compnerd) cannot build tests since the tests require the toolchain
11+
set(SWIFT_INCLUDE_TESTS NO CACHE BOOL "")
12+
13+
# NOTE(compnerd) cannot build docs since that requires perl
14+
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")
15+
16+
# NOTE(compnerd) these are part of the toolchain, not the runtime.
17+
set(SWIFT_BUILD_SOURCEKIT NO CACHE BOOL "")
18+
19+
# NOTE(compnerd) build with the compiler specified, not a just built compiler.
20+
set(SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER YES CACHE BOOL "")
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
set(SWIFT_HOST_VARIANT_SDK OSX CACHE STRING "")
2+
set(SWIFT_HOST_VARIANT_ARCH x86_64 CACHE STRING "")
3+
set(SWIFT_DARWIN_SUPPORTED_ARCHS x86_64 CACHE STRING "")
4+
set(SWIFT_PRIMARY_VARIANT_ARCH x86_64 CACHE STRING "")
5+
6+
# NOTE(compnerd) disable the tools, we are trying to build just the standard
7+
# library.
8+
set(SWIFT_INCLUDE_TOOLS NO CACHE BOOL "")
9+
10+
# NOTE(compnerd) cannot build tests since the tests require the toolchain
11+
set(SWIFT_INCLUDE_TESTS NO CACHE BOOL "")
12+
13+
# NOTE(compnerd) cannot build docs since that requires perl
14+
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")
15+
16+
# NOTE(compnerd) these are part of the toolchain, not the runtime.
17+
set(SWIFT_BUILD_SOURCEKIT NO CACHE BOOL "")
18+
19+
# NOTE(compnerd) build with the compiler specified, not a just built compiler.
20+
set(SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER YES CACHE BOOL "")

0 commit comments

Comments
 (0)