Commit Graph

7 Commits

Author SHA1 Message Date
Daniel Rodríguez Troitiño
e2d420835d [test] Make BlocksRuntimeStubs use never_install component. (#70545)
For some reason, 4 years ago, in ea90256 I added this target to `dev`,
which does not make sense because these stubs are only intended for
testing. Make them `never_install` to avoid distributing them when doing
`install-dev`.
2023-12-19 18:05:43 -08:00
Erik Eckstein
af71088d29 libswift: bootstrapping build
Adding build modes for libswift: off, hosttools, bootstrapping, bootstrapping-with-hostlibs
The two bootstrapping modes are new. For details see libswift/README.md
2021-09-28 18:51:42 +02:00
Kuba (Brecka) Mracek
bcbe8e7bff Remove SWIFTLIB_SINGLE_TARGET_LIBRARY (#38978)
* Remove SWIFTLIB_SINGLE_TARGET_LIBRARY

* Use NOSWIFTRT on BlocksRuntime
2021-08-24 07:46:43 -07:00
Saleem Abdulrasool
3add677c3a build: correct dependencies for a unified build
When not building with the standard library with the host compiler and
building the check target for Swift from clean, we would mis-order the
build for the BlocksRuntimeStubs which depends on the just built
compiler.  Ensure that CMake knows this dependency.
2020-12-04 16:37:51 +00:00
Brent Royal-Gordon
9936c861c7 Fix Mac Catalyst test dependency failures
A CMake refactoring in apple/swift#34859 caused failures in Mac Catalyst configurations which are not tested in open source. This commit corrects these issues.

Fixes rdar://71897958.
2020-12-02 22:04:26 -08:00
David Zarzycki
4b580bdf6b [stdlib] Unbreak unified builds after #34859 2020-12-01 12:48:53 -05:00
Daniel Rodríguez Troitiño
29e1b832ea [test] Move BlocksRuntimeStubs into its own folder under stdlib/.
BlocksRuntimeStubs is built for the target SDK(s), but it was using one
of the stdlib CMake helpers without setting up the same environment as
the stdlib/ folder is setting.

To avoid problems, like BlocksRuntimeStubs being built with the host
compiler, instead of the just built compiler, and other difficult to
understand problems, create a folder for it in stdlib/private/. This
will allow the usage of the stdlib CMake function in the same environment
that is normally used.
2020-11-24 15:28:59 -08:00