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 Mac M1 support to build.py. #6782

Merged
merged 1 commit into from
May 19, 2021
Merged

Conversation

hawkinsp
Copy link
Collaborator

@hawkinsp hawkinsp commented May 19, 2021

On Mac M1, use Bazel 4.1.0rc4. (We'd use the released version of Bazel 4.1.0 if it existed yet.) The newer Bazel version seems sufficient to get a working build, modulo the usual kinks.

Together with a small fix to the LLVM build file that I will submit separately via the TF tree, this is enough to build jaxlib on Mac M1 and for most jax tests to pass. (34/11217 tests fail when running pytest -n auto tests, apparently with segfaults of various kinds, which is not bad for a first version. edit: with another 1-line fix to XLA, we are down to 2 test failures, both of which are numerical.)

Issue #5501

@hawkinsp hawkinsp requested a review from skye May 19, 2021 01:57
@google-cla google-cla bot added the cla: yes label May 19, 2021
@hawkinsp hawkinsp added the pull ready Ready for copybara import and testing label May 19, 2021
@copybara-service copybara-service bot merged commit ae35a09 into jax-ml:master May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants