Skip to content

Support for macos_arm64: added config for macos_arm64#14

Merged
Maratyszcza merged 1 commit intoMaratyszcza:masterfrom
simonmaurer:macos_arm64
Mar 3, 2021
Merged

Support for macos_arm64: added config for macos_arm64#14
Maratyszcza merged 1 commit intoMaratyszcza:masterfrom
simonmaurer:macos_arm64

Conversation

@simonmaurer
Copy link
Copy Markdown
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