From c9fcc49f5af7ea1985043307a67e8094cde81556 Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Mon, 15 Apr 2019 17:12:07 -0700 Subject: [PATCH] Fix windows build for CPU too --- .../tools/ci_build/windows/cpu/pip/build_tf_windows.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh b/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh index 177ef390dbd2f2..d1ab20e3cbde2d 100644 --- a/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh +++ b/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh @@ -100,7 +100,10 @@ fi run_configure_for_cpu_build -bazel build --announce_rc --config=opt tensorflow/tools/pip_package:build_pip_package || exit $? +bazel build \ + --incompatible_remove_native_http_archive=false \ + --incompatible_disable_cc_toolchain_label_from_crosstool_proto=false \ + --announce_rc --config=opt tensorflow/tools/pip_package:build_pip_package || exit $? if [[ "$SKIP_TEST" == 1 ]]; then exit 0 @@ -124,7 +127,10 @@ N_JOBS="${NUMBER_OF_PROCESSORS}" # Define no_tensorflow_py_deps=true so that every py_test has no deps anymore, # which will result testing system installed tensorflow -bazel test --announce_rc --config=opt -k --test_output=errors \ +bazel test \ + --incompatible_remove_native_http_archive=false \ + --incompatible_disable_cc_toolchain_label_from_crosstool_proto=false \ + --announce_rc --config=opt -k --test_output=errors \ --define=no_tensorflow_py_deps=true --test_lang_filters=py \ --test_tag_filters=-no_pip,-no_windows,-no_oss \ --build_tag_filters=-no_pip,-no_windows,-no_oss --build_tests_only \