Skip to content

[cmake] Recognize "arm64" as a supported arch #207

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

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

Steelskin
Copy link
Contributor

Summary

On macOS with ARM processors, CMAKE_SYSTEM_PROCESSOR is set to "arm64", which was not properly recognized as an "aarch64" architecture.

Dependencies

N/A

Testing

Build with CMake on a Mac with an ARM processor.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • [N/A] Added tests
  • Ran the ./bin/test script and it succeeded
  • [N/A] Updated documentation if necessary

On macOS with ARM processors, CMAKE_SYSTEM_PROCESSOR is set to "arm64",
which was not properly recognized as an "aarch64" architecture.
@compnerd
Copy link
Member

@swift-ci please test

@compnerd compnerd merged commit 93e7a79 into swiftlang:main Nov 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants