Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix windows build for CPU too #27878

Merged
merged 1 commit into from Apr 16, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh
Expand Up @@ -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
Expand All @@ -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 \
Expand Down