-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Pass toolchainLibDir
if using XCBuild
#3695
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
We pass this as an additional `-L` when building with SwiftPM's own build system, so we should also pass this when using XCBuild. rdar://82313817
@swift-ci please smoke test |
Going the same route as how we are passing |
Looks good to me, and is similar to the Are there other settings that we need to pass as well, of a similar ilk? Also, are there any meaningful unit tests that can be added here? I added one for |
It looks like there are a few more settings which could be interesting:
|
This doesn't look related. |
I rudely committed my changes to see if everything will build together |
@swift-ci please test |
@swift-ci please smoke test |
Since this change unblocks work on back-deploying concurrency, I'm going to go ahead and merge. |
=> lets circle back to @neonichu above: #3695 (comment) => should adding this path also apply outside the context of XCBuild? ie when you using
cc @abertelrud |
SwiftPM's build system already passes all these, it's just missing from builds with XCBuild as the build system. I believe the libraries in |
got it, is it new? |
No, it is not new, but the set of compatibility libraries hasn't changed since Swift 5.1, which (I think) predates the introduction of this code path. The SwiftPM path gets it for free because the Swift driver is responsible for forming the link line, not XCBuild. |
This is a follow-up to #3695, adding various other settings of the toolchain that we weren't yet correctly forwarding when XCBuild is being used. rdar://82313817
This is a follow-up to #3695, adding various other settings of the toolchain that we weren't yet correctly forwarding when XCBuild is being used. rdar://82313817
This is a follow-up to #3695, adding various other settings of the toolchain that we weren't yet correctly forwarding when XCBuild is being used. rdar://82313817
This is a follow-up to #3695, adding various other settings of the toolchain that we weren't yet correctly forwarding when XCBuild is being used. rdar://82313817
This is a follow-up to #3695, adding various other settings of the toolchain that we weren't yet correctly forwarding when XCBuild is being used. rdar://82313817
This is a follow-up to swiftlang#3695, adding various other settings of the toolchain that we weren't yet correctly forwarding when XCBuild is being used. rdar://82313817
We pass this as an additional
-L
when building with SwiftPM's own build system, so we should also pass this when using XCBuild.rdar://82313817