mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This is the start of the removal of the C++ implementation of libSyntax in favor of the new Swift Parser and Swift Syntax libraries. Now that the Swift Parser has switched the SwiftSyntaxParser library over to being a thin wrapper around the Swift Parser, there is no longer any reason we need to retain any libSyntax infrastructure in the swift compiler. As a first step, delete the infrastructure that builds lib_InternalSwiftSyntaxParser and convert any scripts that mention it to instead mention the static mirror libraries. The --swiftsyntax build-script flag has been retained and will now just execute the SwiftSyntax and Swift Parser builds with the just-built tools.
26 lines
870 B
CMake
26 lines
870 B
CMake
set(SWIFT_PRIMARY_VARIANT_SDK WASI CACHE STRING "")
|
|
set(SWIFT_PRIMARY_VARIANT_ARCH wasm32 CACHE STRING "")
|
|
set(SWIFT_HOST_VARIANT_SDK NONE CACHE STRING "")
|
|
set(SWIFT_HOST_VARIANT_ARCH NONE CACHE STRING "")
|
|
|
|
set(SWIFT_SDKS WASI CACHE STRING "")
|
|
|
|
set(SWIFT_INCLUDE_TOOLS NO CACHE BOOL "")
|
|
set(SWIFT_INCLUDE_TESTS TRUE CACHE BOOL "")
|
|
set(SWIFT_INCLUDE_DOCS NO CACHE BOOL "")
|
|
|
|
set(SWIFT_BUILD_SOURCEKIT NO CACHE BOOL "")
|
|
set(SWIFT_ENABLE_SOURCEKIT_TESTS NO CACHE BOOL "")
|
|
|
|
set(SWIFTWASM_DISABLE_REFLECTION_TEST YES CACHE BOOL "")
|
|
|
|
# stdlib configurations
|
|
set(SWIFT_BUILD_STATIC_STDLIB YES CACHE BOOL "")
|
|
set(SWIFT_BUILD_DYNAMIC_STDLIB NO CACHE BOOL "")
|
|
set(SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY YES CACHE BOOL "")
|
|
|
|
# build with the host compiler
|
|
set(SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER YES CACHE BOOL "")
|
|
|
|
set(SWIFT_STDLIB_SINGLE_THREADED_CONCURRENCY TRUE CACHE BOOL "")
|