mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 00:19:58 +01:00
Upgrade Bazel to 1.1.0
PiperOrigin-RevId: 279959797 Change-Id: Ic5785033bc735d388f368aebee891160781fb193
This commit is contained in:
parent
73aaa5e7f6
commit
a5f9bcd644
|
|
@ -1 +1 @@
|
|||
0.26.1
|
||||
1.1.0
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ _TF_WORKSPACE_ROOT = ''
|
|||
_TF_BAZELRC = ''
|
||||
_TF_CURRENT_BAZEL_VERSION = None
|
||||
_TF_MIN_BAZEL_VERSION = '0.27.1'
|
||||
_TF_MAX_BAZEL_VERSION = '0.29.1'
|
||||
_TF_MAX_BAZEL_VERSION = '1.1.0'
|
||||
|
||||
NCCL_LIB_PATHS = [
|
||||
'lib64/', 'lib/powerpc64le-linux-gnu/', 'lib/x86_64-linux-gnu/', ''
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
# ==============================================================================
|
||||
|
||||
# Select bazel version.
|
||||
BAZEL_VERSION="0.29.1"
|
||||
BAZEL_VERSION="1.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="0.29.1"
|
||||
BAZEL_VERSION="1.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=0.29.1
|
||||
LATEST_BAZEL_VERSION=1.1.0
|
||||
# LINT.ThenChange(
|
||||
# //tensorflow/opensource_only/configure.py,
|
||||
# //tensorflow_estimator/google/kokoro/common.sh,
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ SET PATH=%CUDNN_INSTALL_PATH%\bin;%PATH%
|
|||
@REM Setup Bazel
|
||||
@REM
|
||||
:: Download Bazel from github and make sure its found in PATH.
|
||||
SET BAZEL_VERSION=0.29.1
|
||||
SET BAZEL_VERSION=1.1.0
|
||||
md C:\tools\bazel\
|
||||
wget -q https://github.com/bazelbuild/bazel/releases/download/%BAZEL_VERSION%/bazel-%BAZEL_VERSION%-windows-x86_64.exe -O C:/tools/bazel/bazel.exe
|
||||
SET PATH=C:\tools\bazel;%PATH%
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ RUN ${PIP} --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Install bazel
|
||||
ARG BAZEL_VERSION=0.29.1
|
||||
ARG BAZEL_VERSION=1.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" && \
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ RUN ${PIP} --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Install bazel
|
||||
ARG BAZEL_VERSION=0.29.1
|
||||
ARG BAZEL_VERSION=1.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" && \
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ RUN ${PIP} --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Install bazel
|
||||
ARG BAZEL_VERSION=0.29.1
|
||||
ARG BAZEL_VERSION=1.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" && \
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ RUN ${PIP} --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Install bazel
|
||||
ARG BAZEL_VERSION=0.29.1
|
||||
ARG BAZEL_VERSION=1.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" && \
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ RUN ${PIP} --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Install bazel
|
||||
ARG BAZEL_VERSION=0.29.1
|
||||
ARG BAZEL_VERSION=1.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" && \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user