Skip to content

Commit 3e9fccb

Browse files
Bump TF's minimum Bazel version to 3.7.2.
Bug fixed: bazelbuild/bazel#3828 We need this because we are working on integrating TF with a different project that should remove the breakages caused by LLVM integration PiperOrigin-RevId: 348886284 Change-Id: Iad539321f1ba7590e4ee77b93d67eb5401d9fec8
1 parent 05303d0 commit 3e9fccb

File tree

47 files changed

+49
-44
lines changed

Some content is hidden

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

47 files changed

+49
-44
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.0
1+
3.7.2

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
_TF_WORKSPACE_ROOT = ''
4747
_TF_BAZELRC = ''
4848
_TF_CURRENT_BAZEL_VERSION = None
49-
_TF_MIN_BAZEL_VERSION = '3.1.0'
49+
_TF_MIN_BAZEL_VERSION = '3.7.2'
5050
_TF_MAX_BAZEL_VERSION = '3.99.0'
5151

5252
NCCL_LIB_PATHS = [

tensorflow/compiler/aot/tests/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ test_suite(
6161
":test_graph_tfvariable_test",
6262
":tfcompile_test",
6363
],
64+
visibility = ["//visibility:public"],
6465
)
6566

6667
py_binary(

tensorflow/tools/ci_build/ci_sanity.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ do_external_licenses_check(){
377377
# Denylist
378378
echo ${MISSING_LICENSES_FILE}
379379
grep \
380+
-e "@bazel_tools//platforms" \
380381
-e "@bazel_tools//third_party/" \
381382
-e "@bazel_tools//tools" \
382383
-e "@local" \
@@ -395,6 +396,7 @@ do_external_licenses_check(){
395396
-e "//third_party/mkl" \
396397
-e "//third_party/mkl_dnn" \
397398
-e "@bazel_tools//src" \
399+
-e "@bazel_tools//platforms" \
398400
-e "@bazel_tools//tools/" \
399401
-e "@org_tensorflow//tensorflow" \
400402
-e "@com_google_absl//" \

tensorflow/tools/ci_build/install/install_bazel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# ==============================================================================
1616

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

Lines changed: 1 addition & 1 deletion
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.1.0"
21+
BAZEL_VERSION="3.7.2"
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

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

tensorflow/tools/ci_build/release/common_win.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ SET PATH=%CUDNN_INSTALL_PATH%\bin;%PATH%
7171
@REM Setup Bazel
7272
@REM
7373
:: Download Bazel from github and make sure its found in PATH.
74-
SET BAZEL_VERSION=3.1.0
74+
SET BAZEL_VERSION=3.7.2
7575
md C:\tools\bazel\
7676
wget -q https://github.com/bazelbuild/bazel/releases/download/%BAZEL_VERSION%/bazel-%BAZEL_VERSION%-windows-x86_64.exe -O C:/tools/bazel/bazel.exe
7777
SET PATH=C:\tools\bazel;%PATH%

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN python3 -m pip --no-cache-dir install \
9696
enum34
9797

9898
# Build and install bazel
99-
ENV BAZEL_VERSION 3.1.0
99+
ENV BAZEL_VERSION 3.7.2
100100
WORKDIR /
101101
RUN mkdir /bazel && \
102102
cd /bazel && \

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RUN python3 -m pip --no-cache-dir install \
9696
enum34
9797

9898
# Build and install bazel
99-
ENV BAZEL_VERSION 3.1.0
99+
ENV BAZEL_VERSION 3.7.2
100100
WORKDIR /
101101
RUN mkdir /bazel && \
102102
cd /bazel && \

0 commit comments

Comments
 (0)