Commit Graph

4 Commits

Author SHA1 Message Date
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