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

Support for macos_arm64: added config for macos_arm64 #14

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

simonmaurer
Copy link
Contributor

@simonmaurer simonmaurer commented Mar 3, 2021

with respect to this issue on building XNNPACK for macos_arm64 platform:

this PR allows the compilation for the recent macos_arm64 platform (Apple silicon) using bazel.
verified using the following bazel versions:

  • bazel-3.7.2-darwin-x86_64
  • bazel-4.0.0-darwin-x86_64
  • bazel-4.0.0-homebrew
  • bazel-3.7.1-darwin-arm64

bazel build -c opt --config=macos_arm64

specification of the platform config is mandatory for a succesful build.

as XNNPACK directly and TensorFlow indirectly depend on pthreadpool, once this PR is reviewed and accepted follow-up PRs on these two repos can be issued

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