Update TF bazel version requirements.

PiperOrigin-RevId: 315483879
Change-Id: I4be29ffa3c425f01c28dc8c95250209a2b0bada4
snyk-fix-f4c840df4db9b84b92bab0ff21780e61
Jakob Buchgraber 2 years ago committed by TensorFlower Gardener
parent 3bec74195e
commit d2b02580e6
  1. 2
      .bazelversion
  2. 2
      configure.py
  3. 2
      tensorflow/tools/ci_build/install/install_bazel.sh
  4. 2
      tensorflow/tools/ci_build/install/install_bazel_from_source.sh
  5. 2
      tensorflow/tools/ci_build/release/common.sh
  6. 2
      tensorflow/tools/dockerfiles/dockerfiles/devel-cpu-jupyter.Dockerfile
  7. 2
      tensorflow/tools/dockerfiles/dockerfiles/devel-cpu.Dockerfile
  8. 2
      tensorflow/tools/dockerfiles/dockerfiles/devel-gpu-jupyter.Dockerfile
  9. 2
      tensorflow/tools/dockerfiles/dockerfiles/devel-gpu.Dockerfile
  10. 2
      tensorflow/tools/dockerfiles/partials/ubuntu/bazel.partial.Dockerfile
  11. 2
      tensorflow/tools/dockerfiles/partials/ubuntu/bazelbuild.partial.Dockerfile

@ -1 +1 @@
3.0.0
3.1.0

@ -49,7 +49,7 @@ _TF_BAZELRC_FILENAME = '.tf_configure.bazelrc'
_TF_WORKSPACE_ROOT = ''
_TF_BAZELRC = ''
_TF_CURRENT_BAZEL_VERSION = None
_TF_MIN_BAZEL_VERSION = '2.0.0'
_TF_MIN_BAZEL_VERSION = '3.1.0'
_TF_MAX_BAZEL_VERSION = '3.99.0'
NCCL_LIB_PATHS = [

@ -15,7 +15,7 @@
# ==============================================================================
# Select bazel version.
BAZEL_VERSION="3.0.0"
BAZEL_VERSION="3.1.0"
set +e
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')

@ -18,7 +18,7 @@
# It will compile bazel from source and install it in /usr/local/bin
# Select bazel version.
BAZEL_VERSION="3.0.0"
BAZEL_VERSION="3.1.0"
set +e
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')

@ -17,7 +17,7 @@
# Keep in sync with tensorflow_estimator and configure.py.
# LINT.IfChange
LATEST_BAZEL_VERSION=3.0.0
LATEST_BAZEL_VERSION=3.1.0
# LINT.ThenChange(
# //tensorflow/opensource_only/configure.py,
# //tensorflow_estimator/google/kokoro/common.sh,

@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34
# Install bazel
ARG BAZEL_VERSION=3.0.0
ARG BAZEL_VERSION=3.1.0
RUN mkdir /bazel && \
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34
# Install bazel
ARG BAZEL_VERSION=3.0.0
ARG BAZEL_VERSION=3.1.0
RUN mkdir /bazel && \
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

@ -135,7 +135,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34
# Install bazel
ARG BAZEL_VERSION=3.0.0
ARG BAZEL_VERSION=3.1.0
RUN mkdir /bazel && \
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

@ -135,7 +135,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34
# Install bazel
ARG BAZEL_VERSION=3.0.0
ARG BAZEL_VERSION=3.1.0
RUN mkdir /bazel && \
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

@ -23,7 +23,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34
# Install bazel
ARG BAZEL_VERSION=3.0.0
ARG BAZEL_VERSION=3.1.0
RUN mkdir /bazel && \
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

@ -21,7 +21,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34
# Build and install bazel
ENV BAZEL_VERSION 3.0.0
ENV BAZEL_VERSION 3.1.0
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \

Loading…
Cancel
Save