build: bump bazel to 4.2.1 (#64455)
authorrui <rui@chenrui.dev>
Fri, 10 Sep 2021 15:28:45 +0000 (08:28 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 10 Sep 2021 15:30:10 +0000 (08:30 -0700)
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
.jenkins/pytorch/common_utils.sh

index fd2a018..fae6e3d 100644 (file)
@@ -1 +1 @@
-3.1.0
+4.2.1
index cb7ef20..0cfb5e0 100644 (file)
@@ -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
 }