Skip to content

Commit 18a1dc0

Browse files
Upgrading Bazel to 4.2.1
PiperOrigin-RevId: 413661728 Change-Id: I9d66a199cea6a0754d321924f51421054107e577
1 parent 6541100 commit 18a1dc0

File tree

52 files changed

+64
-67
lines changed

Some content is hidden

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

52 files changed

+64
-67
lines changed

.bazelversion

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.2
1+
4.2.1

configure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
_TF_WORKSPACE_ROOT = ''
4646
_TF_BAZELRC = ''
4747
_TF_CURRENT_BAZEL_VERSION = None
48-
_TF_MIN_BAZEL_VERSION = '3.7.2'
48+
_TF_MIN_BAZEL_VERSION = '4.2.1'
4949
_TF_MAX_BAZEL_VERSION = '4.99.0'
5050

5151
NCCL_LIB_PATHS = [

tensorflow/tools/ci_build/install/install_bazel.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# ==============================================================================
1616

1717
# Select bazel version.
18-
BAZEL_VERSION="3.7.2"
18+
BAZEL_VERSION="4.2.1"
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

+1-1
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="3.7.2"
21+
BAZEL_VERSION="4.2.1"
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

+1-1
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=3.7.2
20+
LATEST_BAZEL_VERSION=4.2.1
2121
# LINT.ThenChange(
2222
# //tensorflow/opensource_only/configure.py,
2323
# //tensorflow_estimator/google/kokoro/common.sh,

tensorflow/tools/ci_build/release/common_win.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ SET PATH=%CUDNN_INSTALL_PATH%\bin;%PATH%
4747
@REM Setup Bazel
4848
@REM
4949
:: Download Bazel from github and make sure its found in PATH.
50-
SET BAZEL_VERSION=3.7.2
50+
SET BAZEL_VERSION=4.2.1
5151
md C:\tools\bazel\
5252
wget -q https://github.com/bazelbuild/bazel/releases/download/%BAZEL_VERSION%/bazel-%BAZEL_VERSION%-windows-x86_64.exe -O C:/tools/bazel/bazel.exe
5353
SET PATH=C:\tools\bazel;%PATH%

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ RUN python3 -m pip --no-cache-dir install \
9797
enum34
9898

9999
# Build and install bazel
100-
ENV BAZEL_VERSION 3.7.2
100+
ENV BAZEL_VERSION 4.2.1
101101
WORKDIR /
102102
RUN mkdir /bazel && \
103103
cd /bazel && \

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ RUN python3 -m pip --no-cache-dir install \
9797
enum34
9898

9999
# Build and install bazel
100-
ENV BAZEL_VERSION 3.7.2
100+
ENV BAZEL_VERSION 4.2.1
101101
WORKDIR /
102102
RUN mkdir /bazel && \
103103
cd /bazel && \

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ RUN python3 -m pip --no-cache-dir install \
9494
enum34
9595

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ RUN python3 -m pip --no-cache-dir install \
9494
enum34
9595

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ RUN python3 -m pip --no-cache-dir install \
139139
enum34
140140

141141
# Install bazel
142-
ARG BAZEL_VERSION=3.7.2
142+
ARG BAZEL_VERSION=4.2.1
143143
RUN mkdir /bazel && \
144144
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
145145
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ RUN python3 -m pip --no-cache-dir install \
139139
enum34
140140

141141
# Install bazel
142-
ARG BAZEL_VERSION=3.7.2
142+
ARG BAZEL_VERSION=4.2.1
143143
RUN mkdir /bazel && \
144144
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
145145
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-7-devel-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
RUN sed -i 's#/usr/bin/python#/usr/bin/python2#g' /usr/bin/yum /usr/libexec/urlgrabber-ext-down
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-7-devel-mpi-horovod-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
RUN sed -i 's#/usr/bin/python#/usr/bin/python2#g' /usr/bin/yum /usr/libexec/urlgrabber-ext-down
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-7-devel-mpi-horovod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
RUN sed -i 's#/usr/bin/python#/usr/bin/python2#g' /usr/bin/yum /usr/libexec/urlgrabber-ext-down
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-7-devel-mpich-horovod-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
RUN sed -i 's#/usr/bin/python#/usr/bin/python2#g' /usr/bin/yum /usr/libexec/urlgrabber-ext-down
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-7-devel-mpich-horovod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
RUN sed -i 's#/usr/bin/python#/usr/bin/python2#g' /usr/bin/yum /usr/libexec/urlgrabber-ext-down
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-7-devel.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
RUN sed -i 's#/usr/bin/python#/usr/bin/python2#g' /usr/bin/yum /usr/libexec/urlgrabber-ext-down
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-8-devel-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
ln -sf $(which ${PYTHON}) /usr/bin/python
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-8-devel-mpi-horovod-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
ln -sf $(which ${PYTHON}) /usr/bin/python
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-8-devel-mpi-horovod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
ln -sf $(which ${PYTHON}) /usr/bin/python
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-8-devel-mpich-horovod-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
ln -sf $(which ${PYTHON}) /usr/bin/python
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-8-devel-mpich-horovod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
ln -sf $(which ${PYTHON}) /usr/bin/python
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/centos-8-devel.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
8383
ln -sf $(which ${PYTHON}) /usr/bin/python
8484

8585
# Install bazel
86-
ARG BAZEL_VERSION=3.7.2
86+
ARG BAZEL_VERSION=4.2.1
8787
RUN mkdir /bazel && \
8888
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
8989
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-16.04-devel-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
8484
curl
8585

8686
# Install bazel
87-
ARG BAZEL_VERSION=3.7.2
87+
ARG BAZEL_VERSION=4.2.1
8888
RUN mkdir /bazel && \
8989
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
9090
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-16.04-devel-mpi-horovod-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
8484
curl
8585

8686
# Install bazel
87-
ARG BAZEL_VERSION=3.7.2
87+
ARG BAZEL_VERSION=4.2.1
8888
RUN mkdir /bazel && \
8989
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
9090
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-16.04-devel-mpi-horovod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
8484
curl
8585

8686
# Install bazel
87-
ARG BAZEL_VERSION=3.7.2
87+
ARG BAZEL_VERSION=4.2.1
8888
RUN mkdir /bazel && \
8989
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
9090
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-16.04-devel-mpich-horovod-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
8484
curl
8585

8686
# Install bazel
87-
ARG BAZEL_VERSION=3.7.2
87+
ARG BAZEL_VERSION=4.2.1
8888
RUN mkdir /bazel && \
8989
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
9090
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-16.04-devel-mpich-horovod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
8484
curl
8585

8686
# Install bazel
87-
ARG BAZEL_VERSION=3.7.2
87+
ARG BAZEL_VERSION=4.2.1
8888
RUN mkdir /bazel && \
8989
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
9090
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-16.04-devel.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
8484
curl
8585

8686
# Install bazel
87-
ARG BAZEL_VERSION=3.7.2
87+
ARG BAZEL_VERSION=4.2.1
8888
RUN mkdir /bazel && \
8989
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
9090
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-18.04-devel-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-18.04-devel-mpi-horovod-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-18.04-devel-mpi-horovod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-18.04-devel-mpich-horovod-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-18.04-devel-mpich-horovod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-18.04-devel.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-20.04-devel-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-20.04-devel-mpi-horovod-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-20.04-devel-mpi-horovod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-20.04-devel-mpich-horovod-jupyter.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-20.04-devel-mpich-horovod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

tensorflow/tools/dockerfiles/dockerfiles/onednn/ubuntu-20.04-devel.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
7373
curl
7474

7575
# Install bazel
76-
ARG BAZEL_VERSION=3.7.2
76+
ARG BAZEL_VERSION=4.2.1
7777
RUN mkdir /bazel && \
7878
curl -fSsL -o /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
7979
curl -fSsL -o /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ RUN python3 -m pip --no-cache-dir install \
9292
enum34
9393

9494
# Build and install bazel
95-
ENV BAZEL_VERSION 3.7.2
95+
ENV BAZEL_VERSION 4.2.1
9696
WORKDIR /
9797
RUN mkdir /bazel && \
9898
cd /bazel && \

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ RUN python3 -m pip --no-cache-dir install \
9292
enum34
9393

9494
# Build and install bazel
95-
ENV BAZEL_VERSION 3.7.2
95+
ENV BAZEL_VERSION 4.2.1
9696
WORKDIR /
9797
RUN mkdir /bazel && \
9898
cd /bazel && \

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ RUN python3 -m pip --no-cache-dir install \
133133
enum34
134134

135135
# Build and install bazel
136-
ENV BAZEL_VERSION 3.7.2
136+
ENV BAZEL_VERSION 4.2.1
137137
WORKDIR /
138138
RUN mkdir /bazel && \
139139
cd /bazel && \

0 commit comments

Comments
 (0)