-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
PS4 support #3221
PS4 support #3221
Conversation
cc @gribozavr, who's shepherded most new platforms. How do PS4 version numbers work? It does seem to make sense that PS3 and PS4 are completely separate OSs, but… |
Please add two tests like I think every PS* platform should be treated as a separate target; for the existing platforms we know that every PS* target runs a unique OS, and it is ABI-incompatible and probably ISA-incompatible to every other PS* target. Even if the new one can run the programs for the previous one, it is typically an emulation mode that for all compilation concerns looks like the previous environment. |
#if os(FreeBSD) | ||
// This block should not parse. | ||
// os(FreeBSD) does not imply os(PS4) | ||
let i : Int = "Hello" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no space before ":".
Actually, lets wait for #3218 so that I can rebase on that and fix the linker directive handling. But, Ive added the test, any other review comments would be appreciated so that I can fix it up in one go. |
@swift-ci Please test and merge |
@compnerd Please take a look at the CI issues:
|
76b760f
to
b1c245a
Compare
@swift-ci Please test and merge |
|
The test needs to be fixed, and I believe I need to hunt down one more issue in the linker option emission for PS4 work to be ready to merge. |
@compnerd Sounds good. Just @-mention me when you are ready. |
Add support for the PS4 OS. Update the standard library and add a target unit test.
@swift-ci Please test |
@gribozavr I think that all the swift side of things are complete. |
@gribozavr if nothing else remains to be addressed, I think this can be merged. |
buffer += '"'; | ||
buffer += library; | ||
if (quote) | ||
buffer += '"'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This matches what Clang does in its PS4TargetCodeGenInfo
, so LGTM.
@swift-ci Please test and merge |
@compnerd Do you know how the PS4 represents process arguments? |
What's in this pull request?
Resolved bug number: (SR-)
Before merging this pull request to apple/swift repository:
Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
Validation Testing
Lint Testing
Note: Only members of the Apple organization can trigger swift-ci.