-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Building on MacOS 14.7 (Apple M1) with Xcode 16.2.
Steps to reproduce:
- Build main branch with
bazelisk build --config=goma //:artifacts_tar --cpu=darwin_arm64
- Check the resulting binary architecture:
% file /private/var/tmp/_bazel_marshall/15a38429f9b5a1eebde75709bdec5b6b/execroot/_main/bazel-out/darwin_arm64-opt/bin/artifacts/rewrapper
/private/var/tmp/_bazel_marshall/15a38429f9b5a1eebde75709bdec5b6b/execroot/_main/bazel-out/darwin_arm64-opt/bin/artifacts/rewrapper: Mach-O 64-bit executable x86_64
Actual vs expected result:
Resulting binaries should be arm64 instead of x86_64.
Additional details:
Adding the --macos_cpus=arm64
flag doesn't help.
Switching between x86_64 and arm64 bazelisk/bazel binaries (installed via Homebrew) doesn't help.
Metadata
Metadata
Assignees
Labels
No labels