Skip to content
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

[5.9][Driver] Remove unused runtime library path on non-Darwin platforms #66745

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

finagolfin
Copy link
Member

Cherrypick of #66546

Explanation: As detailed in the linked issue, the compiler currently looks in /sdk/usr/lib/swift/ if an -sdk is explicitly specified, which may be needed for Darwin platforms, but is unused on non-Darwin. This is a translation of swiftlang/swift-driver#1381 to the legacy C++ Driver, with the addition of a test.

Scope: Only affects an unused library path on non-Darwin platforns

Issue: #63416

Risk: low, as nobody appears to use it

Testing: Passed all CI on trunk

Reviewer: @artemcm

Translation of swiftlang/swift-driver#1374 to the legacy C++ Driver, with the
addition of a test.
@finagolfin finagolfin requested a review from a team as a code owner June 19, 2023 11:55
@stephentyrone
Copy link
Contributor

stephentyrone commented Jun 19, 2023

This is a no-brainer for main, but is there any actual need to get it into 5.9? After branch we generally don't want to take changes that aren't actually needed for the release.

@finagolfin
Copy link
Member Author

@stephentyrone, I figured it's worth cleaning up for the next release too, but wasn't planning on submitting it for 5.8, since that already released.

@finagolfin
Copy link
Member Author

@artemcm, please run the CI on this backport too.

@artemcm
Copy link
Contributor

artemcm commented Jun 27, 2023

@swift-ci test

@finagolfin
Copy link
Member Author

@artemcm, this is the legacy driver backport of the just-merged swiftlang/swift-driver#1381, ready to go in too.

@artemcm artemcm requested a review from nkcsgexi June 28, 2023 16:59
@finagolfin
Copy link
Member Author

Ping @nkcsgexi, this 5.9 legacy driver is currently out of sync with swiftlang/swift-driver#1381 till this goes in.

@finagolfin
Copy link
Member Author

@DougGregor, simple matching pull for the swift-driver, please review.

@al45tair al45tair merged commit a4a3560 into swiftlang:release/5.9 Jul 11, 2023
@finagolfin finagolfin deleted the release/5.9 branch July 11, 2023 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants