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

[tensorflow] Update the max version of the supported bazel #19165

Merged
merged 2 commits into from
Jul 30, 2021

Conversation

Cheney-W
Copy link
Contributor

Describe the pull request

  • What does your PR fix?

Since the PR #18817, the version of bazel used by vcpkg has been upgraded from 3.7.0 to 4.1.0, this causes tensorflow installation failed with following error:

You have bazel 4.1.0 installed.
Please downgrade your bazel installation to version 3.99.0 or lower to build TensorFlow! To downgrade: download the installer for the old version (from https://github.com/bazelbuild/bazel/releases) then run the installer.

For fixing this issue, I add a patch to modify the highest version of bazel supported by tensorflow to 4.1.0.

No feature need to be tested.

@Cheney-W Cheney-W added category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. labels Jul 27, 2021
@ras0219-msft
Copy link
Contributor

Do we have indications from upstream (in an issue or otherwise) that this is safe to do?

@BillyONeal
Copy link
Member

It seems the right fix is to downgrade Bazel rather than patching this unless upstream is OK with it

@NancyLi1013
Copy link
Contributor

Upstream issue reported by us tensorflow/tensorflow#50966.

They have created a PR tensorflow/tensorflow#50882 to support bazel 4.1.0.

@NancyLi1013 NancyLi1013 added the requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. label Jul 28, 2021
@PhoebeHui PhoebeHui mentioned this pull request Jul 28, 2021
@strega-nil-ms
Copy link
Contributor

Given that upstream is okay with this, I think this is good.

@strega-nil-ms strega-nil-ms added info:reviewed Pull Request changes follow basic guidelines and removed requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. labels Jul 28, 2021
@NancyLi1013
Copy link
Contributor

Now, upstream reverted to the version 3.99 of bazel again. @cheney has commented on upstream issue tensorflow/tensorflow#50966 (comment).
Let's wait for the final conclusion from upstream.

@ras0219-msft
Copy link
Contributor

I'm merging this because upstream seems tentatively ok (they reverted only to split the change into a separate PR) and this is blocking all other PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:internal This PR or Issue was filed by the vcpkg team. info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants