File: riegeli_fix.patch

package info (click to toggle)
tensorflow 2.14.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 359,396 kB
  • sloc: cpp: 2,418,453; python: 736,954; java: 20,254; ansic: 18,962; sh: 9,279; pascal: 7,941; objc: 1,584; xml: 988; ada: 727; cs: 273; perl: 150; makefile: 92
file content (17 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Add patch to use tf build rules to prevent 'protobuf_python_genproto' error


diff --git a/python/riegeli/records/BUILD b/python/riegeli/records/BUILD
index cde6d546..7fe18a93 100644
--- a/python/riegeli/records/BUILD
+++ b/python/riegeli/records/BUILD
@@ -1,5 +1,5 @@
 load("//python/riegeli:py_extension.bzl", "py_extension")
-load("@com_google_protobuf//:protobuf.bzl", "py_proto_library")
+load("@org_tensorflow//tensorflow/tsl/platform/default:build_config.bzl", "py_proto_library")

 package(default_visibility = ["//python/riegeli:__subpackages__"])

--
2.25.1