-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix unix toolchain for macos arm64 platform #13683
Fix unix toolchain for macos arm64 platform #13683
Conversation
This allow the basic unix toolchain to work on Apple silicon without Xcode installed. Fixes bazelbuild#13514 Closes bazelbuild#13515. PiperOrigin-RevId: 375711139
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.
Thanks! I'll merge this once the CI tests pass.
We don't have any coverage for darwin arm64 in CI, do we? Can you verify that you tested this on actual hardware?
Good point! I manually verified this on a M1 machine, it works correctly! Thanks! |
@meteorcloudy thanks for the fix - I observe that this works with
|
Hmm, can you show me the content of I uninstalled my Xcode and tested again with the arm64 Bazel version on a M1 machine, it seems to work.
|
Sorry to let this go so long @meteorcloudy
content of that file: https://gist.github.com/alexeagle/a19cee9b7e0f0d49902e0a1b74a92cc3 Verified I get the same with the 4.2.0 final release Come ping me on bazel slack if you have a chance to get more real-time on this |
The obvious question is the diff between our generated files. I get
However even if I modify my |
Well, shoot. After doing a |
OK, if it reappears with an easy way to reproduce, I'm happy to look into it! |
Cherry-pick for b4b0c32 for #13558
This allow the basic unix toolchain to work on Apple silicon without
Xcode installed.
Fixes #13514
Closes #13515.
PiperOrigin-RevId: 375711139