-
Notifications
You must be signed in to change notification settings - Fork 371
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
macOS_arm64 build #1302
Comments
any feedback with respect to this? |
Bazel build for ARM64 Mac is currently not supported. CMake build should work. |
@Maratyszcza okay thanks for the feedback. issued a pull request in the official TensorFlow repo to allow building on platform could you give me a hint on where to make changes to allow |
These changes should be sufficient |
PR to resolve this.
cross compilation on other platforms (e.g. Linux or macOS_x86-64) does not work yet due to missing toolchains.
|
hi y'all
with the aim of compiling the
benchmark_model
in TF (as this depends on XNNPACK) on commit c2db3a8fae0f6558e9dbdee79e67e74c1e95981c I was trying to build the end2end_bench usingbazel 4.0.0
(ARM64)the docs state a macOS support for arm64, I assume this only holds true when using cmake.
so I added configs
macos_arm64
by updating .bazelrc, build_defs.bzl, cpuinfo.BUILD, BUILD.bazel and then run:compiling with
ios_arm64
as build config works fine. however not with macos_arm64 even though the macOS should be using the iOS kernelscould you give me a hint on how to build for platform
macos_arm64
with bazel ? @MaratyszczaThe text was updated successfully, but these errors were encountered: