Skip to content

Commit fe17e19

Browse files
brokenrtg0795
authored andcommitted
Use the current version of Bazel that TF is using. This removes the worry on our end from having to keep it updated.
PiperOrigin-RevId: 441523200
1 parent e4bbaad commit fe17e19

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.bazelversion

-1
This file was deleted.

oss_scripts/configure.sh

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ if is_windows; then
6060
sed -i -e 's/":headers",$/":headers", ":windows_static_link_data",/' third_party/icu/BUILD.bzl
6161
fi
6262

63+
# Copy the current bazelversion of TF.
64+
curl https://raw.githubusercontent.com/tensorflow/tensorflow/master/.bazelversion -o .bazelversion
65+
6366
write_to_bazelrc "build:release_cpu_linux --config=manylinux2014"
6467
write_to_bazelrc "build:manylinux2010 [email protected]_manylinux2014-cuda11.2-cudnn8.1-tensorrt7.2_config_cuda//crosstool:toolchain"
6568
write_to_bazelrc "build:manylinux2014 [email protected]_manylinux2014-cuda11.2-cudnn8.1-tensorrt7.2_config_cuda//crosstool:toolchain"

0 commit comments

Comments
 (0)