Skip to content

Commit

Permalink
Update TF bazel version requirements.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 306572687
Change-Id: I49448295cdd088eb114a7d518dd0db1822f2d7a6
  • Loading branch information
gunan authored and tensorflower-gardener committed Apr 15, 2020
1 parent 016718b commit 2f65c24
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
@@ -1 +1 @@
2.0.0
3.0.0
2 changes: 1 addition & 1 deletion configure.py
Expand Up @@ -50,7 +50,7 @@
_TF_BAZELRC = ''
_TF_CURRENT_BAZEL_VERSION = None
_TF_MIN_BAZEL_VERSION = '2.0.0'
_TF_MAX_BAZEL_VERSION = '2.0.0'
_TF_MAX_BAZEL_VERSION = '3.99.0'

NCCL_LIB_PATHS = [
'lib64/', 'lib/powerpc64le-linux-gnu/', 'lib/x86_64-linux-gnu/', ''
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/tools/ci_build/install/install_bazel.sh
Expand Up @@ -15,7 +15,7 @@
# ==============================================================================

# Select bazel version.
BAZEL_VERSION="2.0.0"
BAZEL_VERSION="3.0.0"

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

# Select bazel version.
BAZEL_VERSION="2.0.0"
BAZEL_VERSION="3.0.0"

set +e
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/tools/ci_build/release/common.sh
Expand Up @@ -17,7 +17,7 @@

# Keep in sync with tensorflow_estimator and configure.py.
# LINT.IfChange
LATEST_BAZEL_VERSION=2.0.0
LATEST_BAZEL_VERSION=3.0.0
# LINT.ThenChange(
# //tensorflow/opensource_only/configure.py,
# //tensorflow_estimator/google/kokoro/common.sh,
Expand Down
Expand Up @@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Install bazel
ARG BAZEL_VERSION=2.0.0
ARG BAZEL_VERSION=3.0.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" && \
Expand Down
Expand Up @@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Install bazel
ARG BAZEL_VERSION=2.0.0
ARG BAZEL_VERSION=3.0.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" && \
Expand Down
Expand Up @@ -135,7 +135,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Install bazel
ARG BAZEL_VERSION=2.0.0
ARG BAZEL_VERSION=3.0.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" && \
Expand Down
Expand Up @@ -135,7 +135,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Install bazel
ARG BAZEL_VERSION=2.0.0
ARG BAZEL_VERSION=3.0.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" && \
Expand Down
Expand Up @@ -23,7 +23,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Install bazel
ARG BAZEL_VERSION=2.0.0
ARG BAZEL_VERSION=3.0.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" && \
Expand Down
Expand Up @@ -21,7 +21,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34

# Build and install bazel
ENV BAZEL_VERSION 0.15.0
ENV BAZEL_VERSION 3.0.0
WORKDIR /
RUN mkdir /bazel && \
cd /bazel && \
Expand Down
2 changes: 2 additions & 0 deletions tensorflow/tools/pip_package/pip_smoke_test.py
Expand Up @@ -37,6 +37,8 @@
"tensorflow/compiler/mlir/lite",
"tensorflow/python/kernel_tests/signal",
"tensorflow/examples",
"tensorflow/tools/android",
"tensorflow/python/eager/benchmarks",
]

def GetBuild(dir_base):
Expand Down

0 comments on commit 2f65c24

Please sign in to comment.