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

Make TensorFlow build with wrapper-free MSVC CROSSTOOL #11114

Merged

Conversation

meteorcloudy
Copy link
Member

With the latest Bazel release (0.5.2), we can now build C++ code on Windows without the python wrapper scripts! This gives faster and more reliable build, but gcc flags in BUILD file won't be translated.

This change removes gcc flags(mostly warning flags) that will cause an error if passed to cl.exe.

The protobuf change is to get protocolbuffers/protobuf@0b059a3, not sure if there is a requirement to use release version of protobuf.
@gunan

@meteorcloudy
Copy link
Member Author

jenkins, test this please

@drpngx
Copy link
Contributor

drpngx commented Jun 28, 2017

@jart WDYT?

@drpngx drpngx requested a review from jart June 28, 2017 17:47
@gunan
Copy link
Contributor

gunan commented Jun 28, 2017

@jhseu are we ok to use a non-released protobuf?

@gunan
Copy link
Contributor

gunan commented Jun 28, 2017

Jenkins, test this please.

@meteorcloudy
Copy link
Member Author

Hmm.. Looks like CI doesn't like my change on protobuf...

@jhseu
Copy link
Contributor

jhseu commented Jun 29, 2017

Generally it's fine to build with a non-released protobuf, but since it was reverted, seems fine to me.

@gunan gunan merged commit 2e68836 into tensorflow:master Jun 30, 2017
@meteorcloudy
Copy link
Member Author

@gunan Can you update Bazel to 0.5.2 on Windows slaves?

@gunan
Copy link
Contributor

gunan commented Jul 6, 2017

All machines should now be upgraded.

@meteorcloudy
Copy link
Member Author

allenlavoie pushed a commit to allenlavoie/tensorflow that referenced this pull request Jul 15, 2017
)

* Make TensorFlow build with wrapper-free MSVC CROSSTOOL

* Revert protobuf version to 3.3.1
@meteorcloudy meteorcloudy deleted the make_tf_build_with_wrapper_free_crosstool branch March 5, 2018 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants