Update TF bazel version requirements.
PiperOrigin-RevId: 306572687 Change-Id: I49448295cdd088eb114a7d518dd0db1822f2d7a6
This commit is contained in:
parent
016718b562
commit
2f65c2468d
|
@ -1 +1 @@
|
||||||
2.0.0
|
3.0.0
|
||||||
|
|
|
@ -50,7 +50,7 @@ _TF_WORKSPACE_ROOT = ''
|
||||||
_TF_BAZELRC = ''
|
_TF_BAZELRC = ''
|
||||||
_TF_CURRENT_BAZEL_VERSION = None
|
_TF_CURRENT_BAZEL_VERSION = None
|
||||||
_TF_MIN_BAZEL_VERSION = '2.0.0'
|
_TF_MIN_BAZEL_VERSION = '2.0.0'
|
||||||
_TF_MAX_BAZEL_VERSION = '2.0.0'
|
_TF_MAX_BAZEL_VERSION = '3.99.0'
|
||||||
|
|
||||||
NCCL_LIB_PATHS = [
|
NCCL_LIB_PATHS = [
|
||||||
'lib64/', 'lib/powerpc64le-linux-gnu/', 'lib/x86_64-linux-gnu/', ''
|
'lib64/', 'lib/powerpc64le-linux-gnu/', 'lib/x86_64-linux-gnu/', ''
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
# Select bazel version.
|
# Select bazel version.
|
||||||
BAZEL_VERSION="2.0.0"
|
BAZEL_VERSION="3.0.0"
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
|
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
|
# It will compile bazel from source and install it in /usr/local/bin
|
||||||
|
|
||||||
# Select bazel version.
|
# Select bazel version.
|
||||||
BAZEL_VERSION="2.0.0"
|
BAZEL_VERSION="3.0.0"
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
|
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.
|
# Keep in sync with tensorflow_estimator and configure.py.
|
||||||
# LINT.IfChange
|
# LINT.IfChange
|
||||||
LATEST_BAZEL_VERSION=2.0.0
|
LATEST_BAZEL_VERSION=3.0.0
|
||||||
# LINT.ThenChange(
|
# LINT.ThenChange(
|
||||||
# //tensorflow/opensource_only/configure.py,
|
# //tensorflow/opensource_only/configure.py,
|
||||||
# //tensorflow_estimator/google/kokoro/common.sh,
|
# //tensorflow_estimator/google/kokoro/common.sh,
|
||||||
|
|
|
@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
|
||||||
enum34
|
enum34
|
||||||
|
|
||||||
# Install bazel
|
# Install bazel
|
||||||
ARG BAZEL_VERSION=2.0.0
|
ARG BAZEL_VERSION=3.0.0
|
||||||
RUN mkdir /bazel && \
|
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/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" && \
|
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
|
enum34
|
||||||
|
|
||||||
# Install bazel
|
# Install bazel
|
||||||
ARG BAZEL_VERSION=2.0.0
|
ARG BAZEL_VERSION=3.0.0
|
||||||
RUN mkdir /bazel && \
|
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/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" && \
|
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
|
enum34
|
||||||
|
|
||||||
# Install bazel
|
# Install bazel
|
||||||
ARG BAZEL_VERSION=2.0.0
|
ARG BAZEL_VERSION=3.0.0
|
||||||
RUN mkdir /bazel && \
|
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/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" && \
|
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
|
enum34
|
||||||
|
|
||||||
# Install bazel
|
# Install bazel
|
||||||
ARG BAZEL_VERSION=2.0.0
|
ARG BAZEL_VERSION=3.0.0
|
||||||
RUN mkdir /bazel && \
|
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/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" && \
|
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
|
enum34
|
||||||
|
|
||||||
# Install bazel
|
# Install bazel
|
||||||
ARG BAZEL_VERSION=2.0.0
|
ARG BAZEL_VERSION=3.0.0
|
||||||
RUN mkdir /bazel && \
|
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/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" && \
|
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
|
enum34
|
||||||
|
|
||||||
# Build and install bazel
|
# Build and install bazel
|
||||||
ENV BAZEL_VERSION 0.15.0
|
ENV BAZEL_VERSION 3.0.0
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN mkdir /bazel && \
|
RUN mkdir /bazel && \
|
||||||
cd /bazel && \
|
cd /bazel && \
|
||||||
|
|
|
@ -37,6 +37,8 @@ BUILD_BLACKLIST = [
|
||||||
"tensorflow/compiler/mlir/lite",
|
"tensorflow/compiler/mlir/lite",
|
||||||
"tensorflow/python/kernel_tests/signal",
|
"tensorflow/python/kernel_tests/signal",
|
||||||
"tensorflow/examples",
|
"tensorflow/examples",
|
||||||
|
"tensorflow/tools/android",
|
||||||
|
"tensorflow/python/eager/benchmarks",
|
||||||
]
|
]
|
||||||
|
|
||||||
def GetBuild(dir_base):
|
def GetBuild(dir_base):
|
||||||
|
|
Loading…
Reference in New Issue