From 585adacb8a29c4478f3528cd962683d780a19285 Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Mon, 15 Apr 2019 11:27:24 -0700 Subject: [PATCH 1/3] Remove leftover cat (file got removed in #27801) --- tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh b/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh index 8d65f0ca694896..59830447da5c55 100644 --- a/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh +++ b/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh @@ -104,7 +104,6 @@ fi run_configure_for_gpu_build bazel build --verbose_explanations --announce_rc --config=opt tensorflow/tools/pip_package:build_pip_package || exit $? -cat mm.txt if [[ "$SKIP_TEST" == 1 ]]; then exit 0 From db8d8adc0d3d7a676dad8b508bd31c19c617a3ed Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Mon, 15 Apr 2019 11:30:04 -0700 Subject: [PATCH 2/3] Remove --verbose_explanations --- tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh b/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh index 59830447da5c55..34847e637a2ddf 100644 --- a/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh +++ b/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh @@ -103,7 +103,7 @@ fi run_configure_for_gpu_build -bazel build --verbose_explanations --announce_rc --config=opt tensorflow/tools/pip_package:build_pip_package || exit $? +bazel build --announce_rc --config=opt tensorflow/tools/pip_package:build_pip_package || exit $? if [[ "$SKIP_TEST" == 1 ]]; then exit 0 From 234280c1dd1f6fb88aef798f7860c2b0ac1145d1 Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Mon, 15 Apr 2019 11:31:08 -0700 Subject: [PATCH 3/3] Add --incompatible_remove_native_http_archive flag --- tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh b/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh index 34847e637a2ddf..0e7f4666ba1122 100644 --- a/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh +++ b/tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh @@ -103,7 +103,7 @@ fi run_configure_for_gpu_build -bazel build --announce_rc --config=opt tensorflow/tools/pip_package:build_pip_package || exit $? +bazel build --incompatible_remove_native_http_archive=false --announce_rc --config=opt tensorflow/tools/pip_package:build_pip_package || exit $? if [[ "$SKIP_TEST" == 1 ]]; then exit 0 @@ -127,7 +127,7 @@ TF_GPU_COUNT=${TF_GPU_COUNT:-4} # Define no_tensorflow_py_deps=true so that every py_test has no deps anymore, # which will result testing system installed tensorflow # GPU tests are very flaky when running concurrently, so set local_test_jobs=1 -bazel test --announce_rc --config=opt -k --test_output=errors \ +bazel test --incompatible_remove_native_http_archive=false --announce_rc --config=opt -k --test_output=errors \ --test_env=TF_GPU_COUNT \ --run_under=//tensorflow/tools/ci_build/gpu_build:parallel_gpu_execute \ --define=no_tensorflow_py_deps=true --test_lang_filters=py \