-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Do not test inferior Swift libraries on Darwin #5611
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
@swift-ci please smoke test |
@shahmishal can you test this before we merge? |
Yes, I will reply back here once I have results |
Looks like this doesn't work as-is because some tests are linking |
4f2bca3
to
9116d30
Compare
@swift-ci please smoke test |
|
9116d30
to
c3f7692
Compare
@swift-ci please smoke test |
Missing a |
c3f7692
to
de4301f
Compare
@swift-ci please smoke test |
On platforms with ABI-stable Swift runtime libraries (currently only Darwin), we should not set `DYLD_LIBRARY_PATHS` to include the inferior Swift libs in `bootstrap` because compatibility issues can arise from SwiftPM's use of Foundation (which itself is a client of the stdlib) and from using dyld4 (which is used on macOS 12+). rdar://88475529
de4301f
to
6290e2e
Compare
@swift-ci please smoke test |
Same error as before:
|
What I see locally is:
which looks correct to me. So there are a couple of options: |
The rpath looks legitimate: |
OK, |
swiftlang/swift#59628 |
1 similar comment
swiftlang/swift#59628 |
This reverts commit d045aa6.
On platforms with ABI-stable Swift runtime libraries (currently only Darwin), we should not set
DYLD_LIBRARY_PATHS
to include the inferior Swift libs inbootstrap
because compatibility issues can arise from SwiftPM's use of Foundation (which itself is a client of the stdlib) and from using dyld4 (which is used on macOS 12+).rdar://88475529