Skip to content

Commit 83ba6a3

Browse files
Updating TensorFlow's bazel version 4.0.0 (the first LTS release).
https://blog.bazel.build/2021/01/19/bazel-4-0.html PiperOrigin-RevId: 353139694 Change-Id: If2c4516b5d7fa59d032e9c74fb2a0716b2a4f618
1 parent 3ea52d3 commit 83ba6a3

File tree

45 files changed

+46
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+46
-46
lines changed

.bazelversion

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

configure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
_TF_WORKSPACE_ROOT = ''
4747
_TF_BAZELRC = ''
4848
_TF_CURRENT_BAZEL_VERSION = None
49-
_TF_MIN_BAZEL_VERSION = '4.0.0'
50-
_TF_MAX_BAZEL_VERSION = '4.99.0'
49+
_TF_MIN_BAZEL_VERSION = '3.7.2'
50+
_TF_MAX_BAZEL_VERSION = '3.99.0'
5151

5252
NCCL_LIB_PATHS = [
5353
'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="4.0.0"
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="4.0.0"
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=4.0.0
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
@@ -71,7 +71,7 @@ SET PATH=%CUDNN_INSTALL_PATH%\bin;%PATH%
7171
@REM Setup Bazel
7272
@REM
7373
:: Download Bazel from github and make sure its found in PATH.
74-
SET BAZEL_VERSION=4.0.0
74+
SET BAZEL_VERSION=3.7.2
7575
md C:\tools\bazel\
7676
wget -q https://github.com/bazelbuild/bazel/releases/download/%BAZEL_VERSION%/bazel-%BAZEL_VERSION%-windows-x86_64.exe -O C:/tools/bazel/bazel.exe
7777
SET PATH=C:\tools\bazel;%PATH%

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN python3 -m pip --no-cache-dir install \
9696
enum34
9797

9898
# Build and install bazel
99-
ENV BAZEL_VERSION 4.0.0
99+
ENV BAZEL_VERSION 3.7.2
100100
WORKDIR /
101101
RUN mkdir /bazel && \
102102
cd /bazel && \

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN python3 -m pip --no-cache-dir install \
9696
enum34
9797

9898
# Build and install bazel
99-
ENV BAZEL_VERSION 4.0.0
99+
ENV BAZEL_VERSION 3.7.2
100100
WORKDIR /
101101
RUN mkdir /bazel && \
102102
cd /bazel && \

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
9393
enum34
9494

9595
# Install bazel
96-
ARG BAZEL_VERSION=4.0.0
96+
ARG BAZEL_VERSION=3.7.2
9797
RUN mkdir /bazel && \
9898
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
9999
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
@@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
9393
enum34
9494

9595
# Install bazel
96-
ARG BAZEL_VERSION=4.0.0
96+
ARG BAZEL_VERSION=3.7.2
9797
RUN mkdir /bazel && \
9898
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
9999
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

0 commit comments

Comments
 (0)