Skip to content

Commit

Permalink
Merge pull request #27873 from tensorflow/more-bazel-incompatible-flags
Browse files Browse the repository at this point in the history
Add --incompatible_disable_cc_toolchain_label_from_crosstool_proto
  • Loading branch information
yifeif committed Apr 15, 2019
2 parents 446d393 + 3ebe165 commit 416b4a3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tensorflow/tools/ci_build/windows/gpu/pip/build_tf_windows.sh
Expand Up @@ -103,7 +103,10 @@ fi

run_configure_for_gpu_build

bazel build --incompatible_remove_native_http_archive=false --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
Expand All @@ -127,7 +130,10 @@ 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 --incompatible_remove_native_http_archive=false --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 \
--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 416b4a3

Please sign in to comment.