tensorflow/third_party/grpc/upb_platform_fix.patch
A. Unique TensorFlower 115b36fca7 Migrate TensorFlow for --incompatible_use_platforms_repo_for_constraints
This is needed to make TensorFlow build with the upcoming Bazel 6.0 release.

We need newer version of rules_go and upb to adapt this incompatible changes, they are introduced in grpc_extra_deps(), but unfortunately, we cannot upgrade grpc in TF due to other problems, therefore we pin those two dependencies and add necessary patch to grpc.

PiperOrigin-RevId: 475567595
2022-09-20 09:02:07 -07:00

14 lines
294 B
Diff

diff --git a/BUILD b/BUILD
index ad85b202..2311b2e4 100644
--- a/BUILD
+++ b/BUILD
@@ -44,7 +44,7 @@ config_setting(
config_setting(
name = "windows",
- constraint_values = ["@bazel_tools//platforms:windows"],
+ constraint_values = ["@platforms//os:windows"],
)
config_setting(