Skip to content

Commit

Permalink
bazel: change bazelisk for M1 support (#1966)
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
Signed-off-by: JP Simard <jp@jpsim.com>
  • Loading branch information
keith authored and jpsim committed Nov 29, 2022
1 parent 4f157e5 commit 152da7c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mobile/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 152da7c

Please sign in to comment.