Skip to content

macOS_arm64 build #1302

@simonmaurer

Description

@simonmaurer

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 using bazel 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_arm64by updating .bazelrc, build_defs.bzl, cpuinfo.BUILD, BUILD.bazel and then run:

bazel build --config=macos_arm64 :end2end_bench

compiling with ios_arm64 as build config works fine. however not with macos_arm64 even though the macOS should be using the iOS kernels

could you give me a hint on how to build for platform macos_arm64 with bazel ? @Maratyszcza

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions