Skip to content
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

Add minimal support for ARM64 on macOS. #2796

Merged
merged 1 commit into from Jan 25, 2021

Conversation

phst
Copy link
Contributor

@phst phst commented Jan 23, 2021

This still fails several tests that assume x86-64, but it’s at least a starting
point.

What type of PR is this?

Feature

What does this PR do? Why is it needed?

This implements basic support for ARM64 macOS systems.

Which issues(s) does this PR fix?

#2795

(This doesn't entirely fix the issue since some of the tests still fail)

Other notes for review

This still fails several tests that assume x86-64, but it’s at least a starting
point.
@phst phst requested a review from jayconrod as a code owner January 23, 2021 14:05
@google-cla google-cla bot added the cla: yes label Jan 23, 2021
Copy link
Contributor

@jayconrod jayconrod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for sending this.

I have very limited access to arm64 hardware, and we don't have any systems in CI yet, so I can't verify this. Also, my understanding is that uname -m may return x86_64 when invoked from an x86_64 process. Not sure whether Bazel runs as x86_64, but something to be aware of.

@jayconrod jayconrod merged commit c82f7c4 into bazelbuild:master Jan 25, 2021
@phst phst deleted the amd64-darwin branch January 31, 2021 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants