bazelisk: bazelisk from homebrew looks for macOS arm binary 4.0.0 and 404s
when attempting to build a project with .bazelversion
defined as 4.0.0
(bazel-buildfarm) on macOS, the following is broken in bazelisk:
cobbler-laptop01:bazel-buildfarm loyaltyarm$ bazel --version
2021/06/10 01:08:45 Downloading https://releases.bazel.build/4.0.0/release/bazel-4.0.0-darwin-arm64...
2021/06/10 01:08:45 could not download Bazel: HTTP GET https://releases.bazel.build/4.0.0/release/bazel-4.0.0-darwin-arm64 failed with error 404
Manually checking the releases hosting at github shows no arm64 binary available for 4.0.0. Can we fix the reference to the appropriate version for arm64 on macOS?
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 4
- Comments: 17 (3 by maintainers)
IIUC this is a feature request that for Bazel versions before 4.1.0 (the first version that had Darwin arm64 binaries) you’d like Bazelisk to download the x86_64 version even on arm64 macOS instead of failing, right?
I think we can do this, yes.
Also 404s on version
3.7.2