mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Runtimes: add support for Runtime module
* take the chance to rename the containing folder, as in this context it should be clear we are talking about the Runtime module and not the Swift runtime * this will fail to build for Apple platforms until we land #84388 -- to signal this, comment the invocations that would add the dependency on the Darwin overlay * piggyback a fix to ensure we rebuild always all the external projects in the Supplemental superbuild used in macOS PR testing Addresses rdar://160774902
This commit is contained in:
@@ -56,6 +56,8 @@ function(copy_library_sources name from_prefix to_prefix)
|
||||
"${ARG_ROOT}/${from_prefix}/${name}/*.c"
|
||||
"${ARG_ROOT}/${from_prefix}/${name}/*.mm"
|
||||
"${ARG_ROOT}/${from_prefix}/${name}/*.m"
|
||||
"${ARG_ROOT}/${from_prefix}/${name}/*.S"
|
||||
"${ARG_ROOT}/${from_prefix}/${name}/*.asm"
|
||||
"${ARG_ROOT}/${from_prefix}/${name}/*.def"
|
||||
"${ARG_ROOT}/${from_prefix}/${name}/*.gyb"
|
||||
"${ARG_ROOT}/${from_prefix}/${name}/*.apinotes"
|
||||
@@ -116,6 +118,9 @@ copy_files("" "Supplemental/Synchronization" FILES "Info.plist.in")
|
||||
message(STATUS "plist[${StdlibSources}/Info.plist.in] -> Supplemental/Volatile/Info.plist.in")
|
||||
copy_files("" "Supplemental/Volatile" FILES "Info.plist.in")
|
||||
|
||||
message(STATUS "plist[${StdlibSources}/Info.plist.in] -> Supplemental/Runtime/Info.plist.in")
|
||||
copy_files("" "Supplemental/Runtime" FILES "Info.plist.in")
|
||||
|
||||
# Platform Overlays
|
||||
|
||||
# Copy magic linker symbols
|
||||
@@ -185,6 +190,7 @@ copy_library_sources(Distributed "public" "Supplemental")
|
||||
copy_library_sources(Observation "public" "Supplemental")
|
||||
copy_library_sources(Synchronization "public" "Supplemental")
|
||||
copy_library_sources(Volatile "public" "Supplemental")
|
||||
copy_library_sources("" "public/RuntimeModule" "Supplemental/Runtime")
|
||||
|
||||
copy_library_sources(_RegexParser "Sources" "Supplemental/StringProcessing"
|
||||
ROOT "${StringProcessing_ROOT_DIR}/swift-experimental-string-processing")
|
||||
|
||||
Reference in New Issue
Block a user