Skip to content

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

Merged
ras0219-msft merged 2 commits intomicrosoft:masterfrom
Cheney-W:Dev/Cheney/tensorflow
Jul 30, 2021
Merged

[tensorflow] Update the max version of the supported bazel#19165
ras0219-msft merged 2 commits intomicrosoft:masterfrom
Cheney-W:Dev/Cheney/tensorflow

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 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:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. 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:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants