Files
swift-mirror/cmake/caches/Runtime-Linux-x86_64.cmake
Saleem Abdulrasool 6b42b73df7 cmake: add some caches for Linux
This adds a set of cmake caches to build a toolchain and runtime for
Linux x86_64.  It is derived from the Windows configuration, but works
for Linux.
2021-11-27 14:00:05 -08:00

21 lines
757 B
CMake

set(SWIFT_HOST_VARIANT_SDK LINUX CACHE STRING "")
set(SWIFT_HOST_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_SYNTAXPARSERLIB NO CACHE BOOL "")
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 "")