mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[caches] Add cache files for macOS Runtime builds
This commit is contained in:
20
cmake/caches/Runtime-MacOSX-arm64.cmake
Normal file
20
cmake/caches/Runtime-MacOSX-arm64.cmake
Normal file
@@ -0,0 +1,20 @@
|
||||
set(SWIFT_HOST_VARIANT_SDK OSX CACHE STRING "")
|
||||
set(SWIFT_HOST_VARIANT_ARCH arm64 CACHE STRING "")
|
||||
set(SWIFT_DARWIN_SUPPORTED_ARCHS arm64 CACHE STRING "")
|
||||
set(SWIFT_PRIMARY_VARIANT_ARCH arm64 CACHE STRING "")
|
||||
|
||||
# NOTE(compnerd) disable the tools, we are trying to build just the standard
|
||||
# library.
|
||||
set(SWIFT_INCLUDE_TOOLS NO CACHE BOOL "")
|
||||
|
||||
# NOTE(compnerd) cannot build tests since the tests require the toolchain
|
||||
set(SWIFT_INCLUDE_TESTS NO CACHE BOOL "")
|
||||
|
||||
# NOTE(compnerd) cannot build docs since that requires perl
|
||||
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")
|
||||
|
||||
# NOTE(compnerd) these are part of the toolchain, not the runtime.
|
||||
set(SWIFT_BUILD_SOURCEKIT NO CACHE BOOL "")
|
||||
|
||||
# NOTE(compnerd) build with the compiler specified, not a just built compiler.
|
||||
set(SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER YES CACHE BOOL "")
|
||||
20
cmake/caches/Runtime-MacOSX-x86_64.cmake
Normal file
20
cmake/caches/Runtime-MacOSX-x86_64.cmake
Normal file
@@ -0,0 +1,20 @@
|
||||
set(SWIFT_HOST_VARIANT_SDK OSX CACHE STRING "")
|
||||
set(SWIFT_HOST_VARIANT_ARCH x86_64 CACHE STRING "")
|
||||
set(SWIFT_DARWIN_SUPPORTED_ARCHS x86_64 CACHE STRING "")
|
||||
set(SWIFT_PRIMARY_VARIANT_ARCH x86_64 CACHE STRING "")
|
||||
|
||||
# NOTE(compnerd) disable the tools, we are trying to build just the standard
|
||||
# library.
|
||||
set(SWIFT_INCLUDE_TOOLS NO CACHE BOOL "")
|
||||
|
||||
# NOTE(compnerd) cannot build tests since the tests require the toolchain
|
||||
set(SWIFT_INCLUDE_TESTS NO CACHE BOOL "")
|
||||
|
||||
# NOTE(compnerd) cannot build docs since that requires perl
|
||||
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")
|
||||
|
||||
# NOTE(compnerd) these are part of the toolchain, not the runtime.
|
||||
set(SWIFT_BUILD_SOURCEKIT NO CACHE BOOL "")
|
||||
|
||||
# NOTE(compnerd) build with the compiler specified, not a just built compiler.
|
||||
set(SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER YES CACHE BOOL "")
|
||||
Reference in New Issue
Block a user