-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Restore -sdk Universally #2620
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
The head ref may contain hidden characters: "sdk\u2010revert"
Restore -sdk Universally #2620
Conversation
This reapplies -sdk universally. See swiftlang#2617.
@swift-ci smoke test |
@swift-ci smoke test linux |
The linux failure seems related. The Swift compiler is looking in the wrong place for finding the |
Okay, well Linux seems pretty consistently certain that I downloaded the latest snapshot to check and that file does exist in the toolchain at that precise location relative to its root. However, this line in the log seems to indicate that the toolchain isn’t installed at ${WORKSPACE}/latest_toolchain/${DOWNLOAD_DIR}-${PLATFORM}${MAJOR_VER}.${MIN_VER}/usr/bin/swiftc --version The line that determined the host destination’s SDK to be |
It's likely it used to work before the recent changes Saleem alludes to, but now will need to be adapted to the new For example, I noticed that SPM 5.1.4 was adding an rpath to both the |
@aciidb0mb3r, somehow your last comment escaped my notice and I was waiting for you to respond to something you had already pre‐empted. Sorry about that. In the interim I did some experimenting, and pointing at the toolchain doesn’t work either; the compiler still cannot find everything it needs. Instead, I’ll just send a pull request that merely adds |
This is a simple revert of 42fc98ec3b5d10328875dc8c1499e4be6d7d2625 with the conflicts resolved.
It reapplies
-sdk
universally.See discussion at #2617.