Automated rollback of commit 85c0ffd26780ead0310c5c8b4825c5cbe2c8f015
PiperOrigin-RevId: 256181363
This commit is contained in:
parent
765bcd8432
commit
4fbff1de1b
@ -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.24.1'
|
_TF_MAX_BAZEL_VERSION = '0.26.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,12 +58,6 @@ 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,10 +592,6 @@ 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,10 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -27,10 +23,6 @@ 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…
x
Reference in New Issue
Block a user