* 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 fixes modularization errors that arise when importing a C++ header that contains `#include <guiddef.h>`, which might hijack this header from the WinSDK module where it belongs.
This introduces a build of the C++ interop runtime support to the new runtime library build.
Co-authored-by: Eric Miotto <1094986+edymtt@users.noreply.github.com>
Introduce a new runtimes build for the `_Volatile` module. This should
hopefully be the final supplemental library that we need for the
completion of the SDK.
We were not copying over the `Info.plist` and had checked in the file in
a few of the supplemental libraries. Update this now to follow the
proper behaviour.
This involves copying the correct source file to generate the magic
symbols (the one for SwiftCore would not work here), and listening to
the backdeployment configuration of Core.
Take the chance to add hooks for vendor overrides.
Addresses rdar://156436695
This migrates Observation to the new runtimes build. It requires some
additional help during the build to locate the internal `CMakeConfig.h`
header from the runtime build. However, this is a good skeleton for us
to start addressing some of those issues.
We want to move StringProcessing sources out of the experimental string
processing repository. Use the Resync script to copy the files from the
experimental repository into position in the StringProcessing library.
Splitting the file copying out of the library copying. This allows us to
list a specific set of files to copy into the new stdlib build from
specific locations.
Add the next stage of the runtimes build - the overlays. This homes the
platform specific overlays for the libraries and is required to make
further progress towards a static SDK for Windows.
This adds the `swift_Concurrency` module to the new runtimes build. This
is sufficient to build the code but will require further fine tuning to
ensure that all the flags entirely identical and that the ABI surface is
also fully replicated.
The main goal for now is to have this building, with little
concern about matching the build flags used currently.
Keep it disabled by default on Apple platforms.
Addresses rdar://143151393
This patch causes the convenient flow to automatically populate the
sources into the new runtime directory layout. This is run at build-time
so that it repopulates on each build. Since the resync script uses
`COPY_IF_DIFFERENT`, only files that change in the main source directory
are copied over, so incremental builds should still work.
Fixed a small bug in the resync script to ensure that it creates the
subdirectories in the right places.
This patch hooks up the swiftCore library build and gets it installing.
This means that we have library evolution hooked up and vector types.
Building it dynamically found that we had duplicate symbols, so fixed
the swiftDemanglingCR library.
Needed to hook up the availability macros.
The flag configuration is for macOS, so we'll need to go through and
figure out what it should look like for the other platforms too.
Adding stdlib stubs library, which uses gyb and requires knowing about
some of the platform info.
The stubs library pulls in several headers from the compiler repository.
We should probably clean that up, but not right now. I've made a note of
it.