-
Notifications
You must be signed in to change notification settings - Fork 10.5k
build: improve SourceKit handling of libdispatch #12098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Please test with following pull request: @swift-ci please test |
Build failed |
10a2eb5
to
fce570a
Compare
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test Linux platform |
Build failed |
I'll take a look at this when I can. If this change is urgent then let me know and I can try to prioritize reviewing. |
@Rostepher it's moderately urgent. I think that we want to make sure that the unified build is working properly for everyone. However, until the Darwin builds are switched over, I don't think that we can remove the autotools build. |
fce570a
to
cc35e3b
Compare
@swift-ci please test |
Build failed |
Build failed |
cc35e3b
to
825c4ed
Compare
@swift-ci please test |
Build failed |
Build failed |
Please test with following pull request: @swift-ci please test Linux platform |
Build failed |
Please test with following pull request: @swift-ci please clean test Linux platform |
Build failed |
Please test with following pull request: @swift-ci please clean test Linux platform |
Build failed |
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.
@swift-ci please clean test Linux platform |
Please test with following pull request: @swift-ci please clean test Linux platform |
Build failed |
Please test with following pull request: @swift-ci please clean test Linux platform |
@swift-ci please clean test macos platform |
I merged the libdispatch change. Trying a normal linux test. |
@swift-ci test linux |
@swift-ci clean test linux |
(should have done a clean test) |
The clean build also succeeded. Lets get this in then! |
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 weenable the swift SDK overlay for libdispatch by sending it the path to
the swift compiler.
Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.