Skip to content

Commit

Permalink
bazel: change bazelisk for M1 support
Browse files Browse the repository at this point in the history
This uses a fat binary version of bazelisk to better support arm bazel

Signed-off-by: Keith Smiley <keithbsmiley@gmail.com>
  • Loading branch information
keith committed Dec 15, 2021
1 parent d0c9843 commit db45c48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions bazelw
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ set -euo pipefail

readonly bazelisk_version="1.10.1"
if [[ $OSTYPE == darwin* ]]; then
# TODO: Support M1 once https://github.com/envoyproxy/envoy/issues/16482
readonly bazel_platform="darwin-amd64"
readonly bazel_version_sha="e485bbf84532d02a60b0eb23c702610b5408df3a199087a4f2b5e0995bbf2d5a"
readonly bazel_platform="darwin"
readonly bazel_version_sha="d3014e478fe6ebbc290e6eccdcc154e93f894300b63d521ec8d22c2e24f32892"
else
readonly bazel_platform="linux-amd64"
readonly bazel_version_sha="4cb534c52cdd47a6223d4596d530e7c9c785438ab3b0a49ff347e991c210b2cd"
Expand Down

0 comments on commit db45c48

Please sign in to comment.