Skip to content

Commit f236922

Browse files
committed
[BUILD] Upgrade default BAZEL version to 3.7.2.
1 parent 2d6a854 commit f236922

File tree

13 files changed

+17
-17
lines changed

13 files changed

+17
-17
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.1
1+
3.7.2

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ swift_rules_dependencies()
9696
# files, in case the parsing of those build files depends on the bazel
9797
# version we require here.
9898
load("//tensorflow:version_check.bzl", "check_bazel_version_at_least")
99-
check_bazel_version_at_least("0.26.1")
99+
check_bazel_version_at_least("3.7.2")
100100

101101
load("//third_party/android:android_configure.bzl", "android_configure")
102102
android_configure(name="local_config_android")

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
_TF_BAZELRC = ''
5151
_TF_CURRENT_BAZEL_VERSION = None
5252
_TF_MIN_BAZEL_VERSION = '0.26.1'
53-
_TF_MAX_BAZEL_VERSION = '1.2.1'
53+
_TF_MAX_BAZEL_VERSION = '3.7.2'
5454

5555
NCCL_LIB_PATHS = [
5656
'lib64/', 'lib/powerpc64le-linux-gnu/', 'lib/x86_64-linux-gnu/', ''

tensorflow/tools/ci_build/install/install_bazel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# ==============================================================================
1616

1717
# Select bazel version.
18-
BAZEL_VERSION="0.26.1"
18+
BAZEL_VERSION="3.7.2"
1919

2020
set +e
2121
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')

tensorflow/tools/ci_build/install/install_bazel_from_source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# It will compile bazel from source and install it in /usr/local/bin
1919

2020
# Select bazel version.
21-
BAZEL_VERSION="0.26.1"
21+
BAZEL_VERSION="3.7.2"
2222

2323
set +e
2424
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')

tensorflow/tools/ci_build/release/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# Keep in sync with tensorflow_estimator and configure.py.
1919
# LINT.IfChange
20-
LATEST_BAZEL_VERSION=0.26.1
20+
LATEST_BAZEL_VERSION=3.7.2
2121
# LINT.ThenChange(
2222
# //tensorflow/opensource_only/configure.py,
2323
# //tensorflow_estimator/google/kokoro/common.sh,

tensorflow/tools/ci_build/release/common_win.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ SET PATH=%CUDNN_INSTALL_PATH%\bin;%PATH%
7474
@REM Setup Bazel
7575
@REM
7676
:: Download Bazel from github and make sure its found in PATH.
77-
SET BAZEL_VERSION=0.26.1
77+
SET BAZEL_VERSION=3.7.2
7878
md C:\tools\bazel\
7979
wget -q https://github.com/bazelbuild/bazel/releases/download/%BAZEL_VERSION%/bazel-%BAZEL_VERSION%-windows-x86_64.exe -O C:/tools/bazel/bazel.exe
8080
SET PATH=C:\tools\bazel;%PATH%

tensorflow/tools/dockerfiles/dockerfiles/devel-cpu-jupyter.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ RUN ${PIP} --no-cache-dir install \
9898
enum34
9999

100100
# Install bazel
101-
ARG BAZEL_VERSION=0.26.1
101+
ARG BAZEL_VERSION=3.7.2
102102
RUN mkdir /bazel && \
103103
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
104104
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/devel-cpu.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ RUN ${PIP} --no-cache-dir install \
9898
enum34
9999

100100
# Install bazel
101-
ARG BAZEL_VERSION=0.26.1
101+
ARG BAZEL_VERSION=3.7.2
102102
RUN mkdir /bazel && \
103103
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
104104
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/devel-gpu-jupyter.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ RUN ${PIP} --no-cache-dir install \
133133
enum34
134134

135135
# Install bazel
136-
ARG BAZEL_VERSION=0.26.1
136+
ARG BAZEL_VERSION=3.7.2
137137
RUN mkdir /bazel && \
138138
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
139139
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

0 commit comments

Comments
 (0)