From c12df2dc2358e58c1dc66221e18635fe29f19e06 Mon Sep 17 00:00:00 2001 From: rui Date: Fri, 10 Sep 2021 08:28:45 -0700 Subject: [PATCH] build: bump bazel to 4.2.1 (#64455) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/64455 Reviewed By: saketh-are Differential Revision: D30752580 Pulled By: malfet fbshipit-source-id: 4f5cc6f820396348181c09463f7e5628b5f69471 --- .bazelversion | 2 +- .jenkins/pytorch/common_utils.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bazelversion b/.bazelversion index fd2a018..fae6e3d 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -3.1.0 +4.2.1 diff --git a/.jenkins/pytorch/common_utils.sh b/.jenkins/pytorch/common_utils.sh index cb7ef20..0cfb5e0 100644 --- a/.jenkins/pytorch/common_utils.sh +++ b/.jenkins/pytorch/common_utils.sh @@ -70,9 +70,9 @@ function file_diff_from_base() { function get_bazel() { # download bazel version - wget https://github.com/bazelbuild/bazel/releases/download/4.1.0/bazel-4.1.0-linux-x86_64 -O tools/bazel + wget https://github.com/bazelbuild/bazel/releases/download/4.2.1/bazel-4.2.1-linux-x86_64 -O tools/bazel # verify content - echo '0eb2e378d2782e7810753e2162245ad1179c1bb12f848c692b4a595b4edf779b tools/bazel' | sha256sum --quiet -c + echo '1a4f3a3ce292307bceeb44f459883859c793436d564b95319aacb8af1f20557c tools/bazel' | sha256sum --quiet -c chmod +x tools/bazel } -- 2.7.4