File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
tensorflow-core/tensorflow-core-api Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,15 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
77# the version of this archive (e.g. google protobuf)
88http_archive (
99 name = "org_tensorflow" ,
10+ patches = [
11+ ":tensorflow-visibility.patch" ,
12+ ":tensorflow-macosx.patch" ,
13+ # ":tensorflow-windows.patch", # https://github.com/tensorflow/tensorflow/issues/25213
14+ ":tensorflow-proto.patch" ,
15+ ],
16+ patch_tool = "patch" ,
17+ patch_args = ["-p1" ],
18+ patch_cmds = ["grep -rl 'java_package' tensorflow/core | xargs sed -i.bak 's/^\(.* java_package = \" org\.tensorflow\.\)\(.*\" \)/\\ 1proto.\\ 2'/" ],
1019 urls = [
1120 "https://github.com/tensorflow/tensorflow/archive/v2.4.1.tar.gz" ,
1221 ],
You can’t perform that action at this time.
0 commit comments