Skip to content

Don't pass / as default sysroot on Linux #2797

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

Merged
merged 1 commit into from
Jul 2, 2020

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Jul 2, 2020

Passing / as sysroot breaks usage of toolchains installed in custom locations.

Passing / as sysroot breaks usage of toolchains installed in custom locations.
@drexin drexin requested a review from neonichu July 2, 2020 17:27
@drexin
Copy link
Contributor Author

drexin commented Jul 2, 2020

@swift-ci smoke test

@neonichu
Copy link
Contributor

neonichu commented Jul 2, 2020

This looks right to me, but tagging @aciidb0mb3r to see if there were any reasons for passing --sysroot / that we need to keep in mind.

@aciidgh
Copy link
Contributor

aciidgh commented Jul 2, 2020

I don’t remember unfortunately but it seems right to not pass it.

@drexin drexin merged commit 38b9756 into swiftlang:master Jul 2, 2020
finagolfin added a commit to finagolfin/swift-package-manager that referenced this pull request Jul 12, 2020
Instead, use swiftlang#2797, which made the SDK path optional, and simply pass nil by
default as on linux.
neonichu pushed a commit that referenced this pull request Jul 15, 2020
Instead, use #2797, which made the SDK path optional, and simply pass nil by
default as on linux.
artemcm pushed a commit to artemcm/swift-package-manager that referenced this pull request Jul 29, 2020
Instead, use swiftlang#2797, which made the SDK path optional, and simply pass nil by
default as on linux.
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.

4 participants