-
Notifications
You must be signed in to change notification settings - Fork 333
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
[lldb] Propagate SDKROOT env var in Shell tests on Windows #9416
[lldb] Propagate SDKROOT env var in Shell tests on Windows #9416
Conversation
Tests that are expected to pass with this change:
|
We now dump the value of SDKROOT like macOS and warn if it is not found in the system environment. |
Thanks for reviewing @hyp, I think this is ready t land. |
Looks good! |
@swift-ci please test |
The Linux build failed with the following error. It looks like the llvm-project version that we checked out isn't matching:
macOS fails with the same error. This is a LLVM version mismatch:
The Windows build failed with the following error. This seems unrelated to the actual change as well, since it happens when building
|
|
We need the manual lookup in lldb/source/Host/windows/HostInfoWindowsSwift.cpp to succeed. Otherwise SwiftASTContext::CreateInstance() fails with: Cannot create Swift scratch context (couldn't load the Swift stdlib)
e8d8b4b
to
1dcabd2
Compare
To all the new reviewers: sorry for the noise, I had to update the base branch to fix pre-merge checks |
@swift-ci please test |
Windows platform failed due to unrelated Swift constraints-solver tests:
|
@swift-ci please test Windows Platform |
4 failures in swift-foundation-tests. All unrelated. Not sure what was the 'unexpected' one, the log only reports details for 3 of them:
|
@swift-ci please test Windows Platform |
This will be part of #9513 |
The manual lookup in lldb/source/Host/windows/HostInfoWindowsSwift.cpp must be successful so that SwiftASTContext::CreateInstance() doesn't fail with:
Cannot create Swift scratch context (couldn't load the Swift stdlib)