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
This commit is contained in:
rui
2021-09-10 08:28:45 -07:00
committed by Facebook GitHub Bot
parent 63b180beed
commit c12df2dc23
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
3.1.0
4.2.1

View 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
}