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
bazel version check should be in tf_workspace() #4975
Comments
bazel should already check the bazel version, but maybe that check is broken, or we are not supporting the minimum version we pretend to support there? See tensorflow.bzl:check_version and uses. |
Oh terrific. It's probably better to have the version check in Skylark. Although we might want to move that into the tf_workspace() function so it gets enforced on dependent repositories as well. |
Ah, yes. That would be much better, otherwise dependent repos have to
|
All this sounds terrific. The check trickling down to dependencies would be great, yes!
If so, would this issue better be open or renamed? As far as I can test myself or read about it, there are some issues related to either Bazel or Protobuf versioning. I can dig out and link recent issues, if this helps. I am willing to spend time on the issue, although I am more interested in the |
You're right @ic. I've renamed and reopened this issue. I'm not sure if you're volunteering, but if you write up a PR, mention me in the description and I'll be happy to review it. If not, then I can probably take care of this when I get time. |
I will look into it---got bitten a few times already by this issue. Two issues to mitigate what to expect from me: I have to work on another part completely unrelated (quantization), and I am just started on Bazel. Anyway, understood on the mention! |
Looking a bit into it, would the problem occur in
There were quite a few issues/discussions recently about Bazel 0.3.1. I had a look again, but the data is piling up and getting hard to drill. Would it simply be that the minimum requirement is 0.3.1 now? Note that the current master (f794cd3) builds ok without GPU support, and Makefile-related pieces build too. However the code for quantization does not build (the part under |
After pulling today, @jart I think this issue can be closed now; thank you. |
@ic suggested in #4458 to have
./configure
check the Bazel version. This would probably save time for a lot of people. It should be relatively straightforward to implement, because even if Bazel is compiled from git, it still displays a version tag.@martinwicke what version do we currently support? Bazel ≥0.3.1?
The text was updated successfully, but these errors were encountered: