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")
7
7
# the version of this archive (e.g. google protobuf)
8
8
http_archive (
9
9
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'/" ],
10
19
urls = [
11
20
"https://github.com/tensorflow/tensorflow/archive/v2.4.1.tar.gz" ,
12
21
],
You can’t perform that action at this time.
0 commit comments