Skip to content

Commit

Permalink
Merge pull request #27870 from tensorflow/bazel-http-archive
Browse files Browse the repository at this point in the history
Add --incompatible_remove_native_http_archive=false to windows bazel calls
  • Loading branch information
yifeif committed Apr 15, 2019
2 parents 5d535ee + 234280c commit 446d393
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh
Expand Up @@ -103,8 +103,7 @@ 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
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
Expand All @@ -128,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 \
Expand Down

0 comments on commit 446d393

Please sign in to comment.