Commit Graph

15 Commits

Author SHA1 Message Date
Evan Wilde
aa6b5c2d37 [CMake] Copy StringProcessing files into stdlib
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.
2025-03-26 16:45:23 -07:00
Saleem Abdulrasool
372923df48 Runtimes: add _Builtin_float to the overlay
This adds the missing `_Builtin_float` module to the overlay project.
This module is applicable to all platforms.
2025-03-21 12:13:32 -07:00
Evan Wilde
960779f556 Fold individual file copies into copy_files
Use the new copy_files to copy specific files into the appropriate
places without needing to duplicate as much code.
2025-03-18 16:31:19 -07:00
Evan Wilde
29de93de01 Split file copying
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.
2025-03-18 16:04:28 -07:00
Saleem Abdulrasool
c54dfe6092 Runtimes: add Overlay project
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.
2025-03-03 15:36:31 -08:00
Saleem Abdulrasool
1ac0007883 Runtimes: introduce swift_Concurrency
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.
2025-02-13 16:24:36 -08:00
Eric Miotto
c1257eb4ef Runtimes: introduce SwiftOnoneSupport
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
2025-02-03 11:34:51 -08:00
Justice Adams
4666a418e0 [CMAKE] Add Plist creation to swiftCore (#77960)
* update Resync to copy plist template

* include Plist in linked library for Darwin platforms

* only embedd plist on apple platforms

* formatting fix
2024-12-17 15:49:54 -08:00
Evan Wilde
08daac6466 Adding C/C++ portion of CommandLine support
Hooking up the bits of the build to link the swift commandline support
C++ bits into swiftCore.
2024-11-07 20:05:56 -08:00
Evan Wilde
8385137bfa Auto populate runtime source directory
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.
2024-11-06 21:27:54 -08:00
Evan Wilde
03ba118bf3 Add swiftCore library
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.
2024-11-06 21:27:53 -08:00
Evan Wilde
f3b5fcdc15 Add stubs library to build
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.
2024-11-06 21:27:53 -08:00
Evan Wilde
96429952bb Build runtime library
Getting the runtime libraries building, while also ironing out more of
the macro definitions and flags.
2024-11-06 21:27:53 -08:00
Evan Wilde
bfb7596ab4 Add SwiftShims as an interface library 2024-11-05 08:19:43 -08:00
Evan Wilde
f03d9a01e6 Adding stdlib resync script
Adding a quick script to keep the pieces of the standard library in sync
between the new stdlib build and the old one.
2024-11-04 13:26:31 -08:00