Prepare build jobs for 1.13.2 patch release
PiperOrigin-RevId: 256092770
This commit is contained in:
parent
55e01c7ae4
commit
85c0ffd267
@ -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 = '0.24.1'
|
_TF_MIN_BAZEL_VERSION = '0.24.1'
|
||||||
_TF_MAX_BAZEL_VERSION = '0.26.1'
|
_TF_MAX_BAZEL_VERSION = '0.24.1'
|
||||||
|
|
||||||
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/', ''
|
||||||
|
@ -58,6 +58,12 @@ function build_libtensorflow_tarball() {
|
|||||||
export TF_NEED_ROCM=0
|
export TF_NEED_ROCM=0
|
||||||
fi
|
fi
|
||||||
bazel clean --expunge
|
bazel clean --expunge
|
||||||
|
# Don't do in-place sed as this needs to run on mac and linux
|
||||||
|
sed \
|
||||||
|
-e "s/^_TF_MIN_BAZEL_VERSION =.*$/_TF_MIN_BAZEL_VERSION = '0.24.1'/" \
|
||||||
|
-e "s/^_TF_MAX_BAZEL_VERSION =.*$/_TF_MAX_BAZEL_VERSION = '0.24.1'/" \
|
||||||
|
configure.py > configure.py.new
|
||||||
|
mv configure.py.new configure.py
|
||||||
yes "" | ./configure
|
yes "" | ./configure
|
||||||
|
|
||||||
# Remove this test call when
|
# Remove this test call when
|
||||||
|
@ -592,6 +592,10 @@ do_configure_test() {
|
|||||||
do
|
do
|
||||||
export TF_NEED_CUDA=${WITH_CUDA}
|
export TF_NEED_CUDA=${WITH_CUDA}
|
||||||
export PYTHON_BIN_PATH=$(which python)
|
export PYTHON_BIN_PATH=$(which python)
|
||||||
|
sed -i \
|
||||||
|
-e "s/^_TF_MIN_BAZEL_VERSION =.*$/_TF_MIN_BAZEL_VERSION = '0.24.1'/" \
|
||||||
|
-e "s/^_TF_MAX_BAZEL_VERSION =.*$/_TF_MAX_BAZEL_VERSION = '0.24.1'/" \
|
||||||
|
configure.py
|
||||||
yes "" | ./configure
|
yes "" | ./configure
|
||||||
|
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
|
@ -16,6 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
function run_configure_for_cpu_build {
|
function run_configure_for_cpu_build {
|
||||||
|
sed -i \
|
||||||
|
-e "s/^_TF_MIN_BAZEL_VERSION =.*$/_TF_MIN_BAZEL_VERSION = '0.24.1'/" \
|
||||||
|
-e "s/^_TF_MAX_BAZEL_VERSION =.*$/_TF_MAX_BAZEL_VERSION = '0.24.1'/" \
|
||||||
|
configure.py
|
||||||
yes "" | ./configure
|
yes "" | ./configure
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -23,6 +27,10 @@ function run_configure_for_gpu_build {
|
|||||||
# Enable CUDA support
|
# Enable CUDA support
|
||||||
export TF_NEED_CUDA=1
|
export TF_NEED_CUDA=1
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
-e "s/^_TF_MIN_BAZEL_VERSION =.*$/_TF_MIN_BAZEL_VERSION = '0.24.1'/" \
|
||||||
|
-e "s/^_TF_MAX_BAZEL_VERSION =.*$/_TF_MAX_BAZEL_VERSION = '0.24.1'/" \
|
||||||
|
configure.py
|
||||||
yes "" | ./configure
|
yes "" | ./configure
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user