about summary refs log tree commit diff
path: root/pkgs/development/python-modules/tensorflow/no-saved-proto.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/tensorflow/no-saved-proto.patch')
-rw-r--r--pkgs/development/python-modules/tensorflow/no-saved-proto.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/tensorflow/no-saved-proto.patch b/pkgs/development/python-modules/tensorflow/no-saved-proto.patch
new file mode 100644
index 000000000000..ead112f8ddd6
--- /dev/null
+++ b/pkgs/development/python-modules/tensorflow/no-saved-proto.patch
@@ -0,0 +1,14 @@
+diff --git a/tensorflow/cc/saved_model/BUILD b/tensorflow/cc/saved_model/BUILD
+index 8626ed0087..27deb34387 100644
+--- a/tensorflow/cc/saved_model/BUILD
++++ b/tensorflow/cc/saved_model/BUILD
+@@ -49,9 +49,6 @@ cc_library(
+         # tf_lib depending on the build platform.
+         "//tensorflow/core:lib",
+         "//tensorflow/core:protos_all_cc",
+-    ]) + if_mobile([
+-        # Mobile-friendly SavedModel proto. See go/portable-proto for more info.
+-        "//tensorflow/core:saved_model_portable_proto",
+     ]) + if_android([
+         "//tensorflow/core:android_tensorflow_lib",
+     ]) + if_ios([