mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Avoid overwriting the `swiftCore` target in the SourceKit build. Instead, link to the explicit variant of the swiftCore. This tracks the dependency better and enables multiple parallel cross-compilations of the stdlib. Implicitly link against swiftCore when linking against libdispatch. Remove the extraneous link against the Blocks runtime on Linux. The `add_sourcekit_executable` call already handles this. Ensure that we enable the swift SDK overlay for libdispatch by sending it the path to the swift compiler.