-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Special-case catalyst when computing a path for stdlib_dir in lit config #33195
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 test |
Hmm, I'm not sure I understand the commit message - you say |
Sorry, to be more specific, |
Ah, yes, |
@swift-ci test |
Build failed |
Build failed |
@swift-ci please test windows platform |
3 similar comments
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
@swift-ci please test windows platform |
1 similar comment
@swift-ci please test windows platform |
@swift-ci please test Windows platform |
@compnerd , the windows machine seems to be out of space. |
@swift-ci please test Windows platform |
target_sdk_name is `macosx` when targeting `maccatalyst`, but the stdlib swift modules are placed under `swift/maccatalyst` instead of `swift/macosx`. Using `run_os` is not correct in the general sense though, hence the requirement for a special case instead of just replacing `target_sdk_name` with it. For example, it would be invalid to use run_os instead of target_sdk_name on Windows, because the sdk_name is going to be windows while the run_os variable may be windows-msvc.
@swift-ci please test |
@swift-ci please test Windows platform |
1 similar comment
@swift-ci please test Windows platform |
Build failed |
Build failed |
@swift-ci please test Windows platform |
target_sdk_name
ismacosx
when targetingmaccatalyst
, but the stdlib swift modules are placed underswift/maccatalyst
instead ofswift/macosx
.Using
run_os
is not correct in the general sense though, hence the requirement for a special case instead of just replacingtarget_sdk_name
with it. For example, it would be invalid to userun_os
instead oftarget_sdk_name
on Windows, because thesdk_name
is going to bewindows
while therun_os
variable may bewindows-msvc
.