Open alealv opened 2 years ago
@sgowroji I don't believe this is team-Configurability
's area of expertise.
It looks like it's related to how Bazel sets the default CPU on Macs with ARM processors. I'm not sure which group is best equipped to diagnose that. Perhaps team-OSS
? Could you inquire more to check?
Description of the bug:
Current master version gives wrong (AFAIK)
cpu
value for MacOS arm64. This is not the case for version5.0.0
.This makes other select rules to fail.
Master version configuration (example protobuf)
v5.0.0 version configuration (example protobuf)
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
what's shown above
Which operating system are you running Bazel on?
Darwin 21.5.0 arm64 arm
What is the output of
bazel info release
?❯ bazel info release 2022/05/23 17:56:59 Using unreleased version at commit a5e66fafc9d1f9eb192bc157396040b6c95be5cf Starting local Bazel server and connecting to it... WARNING: Option 'host_javabase' is deprecated INFO: Invocation ID: 5cb4a7ca-84a3-4cc0-94bb-aa908d46219c development version
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.I use bazelisk
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response