From 3cc5062544de9ae9448e0a88534e02627e4a356e Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Wed, 6 May 2020 16:59:18 -0700 Subject: [PATCH] Update bazel to 3.1.0 (#37951) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/37951 Differential Revision: D21439260 Pulled By: malfet fbshipit-source-id: 77bcb5a28a29482f6e44c01e3dafd24d24ee7ec3 --- .bazelversion | 2 +- .jenkins/pytorch/common.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bazelversion b/.bazelversion index ccbccc3dc62..fd2a01863fd 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -2.2.0 +3.1.0 diff --git a/.jenkins/pytorch/common.sh b/.jenkins/pytorch/common.sh index f232a34e96e..73a2495a12b 100644 --- a/.jenkins/pytorch/common.sh +++ b/.jenkins/pytorch/common.sh @@ -190,9 +190,9 @@ function file_diff_from_base() { function get_bazel() { # download bazel version - wget https://github.com/bazelbuild/bazel/releases/download/2.2.0/bazel-2.2.0-linux-x86_64 -O tools/bazel + wget https://github.com/bazelbuild/bazel/releases/download/3.1.0/bazel-3.1.0-linux-x86_64 -O tools/bazel # verify content - echo 'b2f002ea0e6194a181af6ac84cd94bd8dc797722eb2354690bebac92dda233ff tools/bazel' | sha256sum --quiet -c + echo '753434f4fa730266cf5ce21d1fdd425e1e167dd9347ad3e8adc19e8c0d54edca tools/bazel' | sha256sum --quiet -c chmod +x tools/bazel }