Merge pull request #75566 from edymtt/edymtt/promote-concurrency-stringprocessing-to-core-libraries

Promote _Concurrency and StringProcessing to core subset of the stdlib
This commit is contained in:
Eric Miotto
2024-08-01 11:06:41 -07:00
committed by GitHub
2 changed files with 11 additions and 11 deletions

View File

@@ -101,7 +101,7 @@ option(SWIFT_STDLIB_EMIT_API_DESCRIPTORS
option(SWIFT_STDLIB_BUILD_ONLY_CORE_MODULES
"Build only the core subset of the standard library,
ignoring additional libraries such as Concurrency, Distributed and StringProcessing.
ignoring additional libraries such as Distributed, Observation and Synchronization.
This is an option meant for internal configurations inside Apple
that need to build the standard libraries in chunks when constructing an SDK"
FALSE)

View File

@@ -269,6 +269,16 @@ if(SWIFT_BUILD_STDLIB)
if(SWIFT_BUILD_CLANG_OVERLAYS)
add_subdirectory(ClangOverlays)
endif()
if(SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY)
add_subdirectory(Concurrency)
endif()
if(SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING)
add_subdirectory(RegexParser)
add_subdirectory(StringProcessing)
add_subdirectory(RegexBuilder)
endif()
endif()
if(SWIFT_BUILD_STDLIB AND NOT SWIFT_STDLIB_BUILD_ONLY_CORE_MODULES)
@@ -279,20 +289,10 @@ if(SWIFT_BUILD_STDLIB AND NOT SWIFT_STDLIB_BUILD_ONLY_CORE_MODULES)
add_subdirectory(Differentiation)
endif()
if(SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY)
add_subdirectory(Concurrency)
endif()
if(SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED)
add_subdirectory(Distributed)
endif()
if(SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING)
add_subdirectory(RegexParser)
add_subdirectory(StringProcessing)
add_subdirectory(RegexBuilder)
endif()
if(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION)
add_subdirectory(Observation)
endif()