From 6d9de8d484063e4cfa318f9278bba5a7e37fe4ff Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Sun, 6 Feb 2022 15:34:27 +0100 Subject: [PATCH] build: update to bazel v5 with native m1 support Updates to Bazel v5 which also comes with native M1 support. Note that v4.2.0 also started supporting M1 but we haven't updated to that version, so this is the first version supporting M1 in this repo. --- .bazelversion | 2 +- WORKSPACE | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.bazelversion b/.bazelversion index fcdb2e109f68..0062ac971805 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -4.0.0 +5.0.0 diff --git a/WORKSPACE b/WORKSPACE index 668e2160d436..f44b984a29dd 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -52,9 +52,7 @@ load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace() -load("@build_bazel_rules_nodejs//:index.bzl", "check_bazel_version", "node_repositories", "yarn_install") - -check_bazel_version("4.0.0") +load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install") node_repositories( node_version = "16.10.0",