Skip to content

Commit

Permalink
Revert "bazel: change bazelisk for M1 support (#1966)" (#1998)
Browse files Browse the repository at this point in the history
This reverts commit aeab7fe443e41a06687137a52002223f084f9db8.

Unfortunately still not working on M1.

E.g.

```
$ ./bazelw build //library/common:envoy_main_interface_lib
ERROR: While resolving toolchains for target @com_envoyproxy_protoc_gen_validate//:protoc-gen-validate: no matching toolchains found for types @io_bazel_rules_go//go:toolchain
ERROR: Analysis of target '//library/common:envoy_main_interface_lib' failed; build aborted: no matching toolchains found for types @io_bazel_rules_go//go:toolchain
```

Signed-off-by: JP Simard <jp@jpsim.com>
  • Loading branch information
jpsim committed Nov 29, 2022
1 parent 0308ca7 commit 235e09d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mobile/bazelw
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ set -euo pipefail

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

0 comments on commit 235e09d

Please sign in to comment.