-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[5.1][Interpreter] Fall back to loading Swift dylibs from /usr/lib/swift on Apple platforms. #24839
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.1][Interpreter] Fall back to loading Swift dylibs from /usr/lib/swift on Apple platforms. #24839
Conversation
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test |
Build failed |
CI issue has been fixed. |
Build failed |
@swift-ci please test os x platform |
cd28672
to
8e1905d
Compare
@swift-ci please test |
…is not set." This reverts commit 92fa5ef.
…eCheck." This reverts commit 199e5a7.
…b/swift first for Swift libraries." This reverts commit 81afe14.
…ing of the DYLD_LIBRARY_PATH value in constructInvocation." This reverts commit acf2c9f.
…ing Swift dylibs from /usr/lib/swift." This reverts commit 14c722b.
…n Apple platforms. Continue to load the dylibs next to the compiler if they exist. If they don't, then use the OS's dylibs. rdar://problem/47528005
8e1905d
to
bbdafde
Compare
@swift-ci please test |
- Check the target triple at runtime to decide whether to use the fallback. - Change isInResourceDir to actually check the resource dir. - Use ArrayRef<std::string> instead of std::vector<std::string>.
@swift-ci please test |
Build failed |
Build failed |
Cherry-pick #24838 to 5.1. This also reverts #23983, which was a temporary change superseded this one.
Requires LLDB PR apple/swift-lldb#1597.
Continue to load the dylibs next to the compiler if they exist. If they don't, then use the OS's dylibs.
rdar://problem/47528005