summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2019-06-03 03:31:28 +0800
committerJason Zaman <perfinion@gentoo.org>2019-06-05 00:32:45 +0800
commit83575c9121bcefb785967e5bfe7a8a12ff6d3ba1 (patch)
tree55560466fcef9deb6d48f1d9e1f027e071a817f2 /sci-libs/tensorflow/files
parentnet-libs/google-cloud-cpp: bump 0.9.0 (diff)
downloadgentoo-83575c9121bcefb785967e5bfe7a8a12ff6d3ba1.tar.gz
gentoo-83575c9121bcefb785967e5bfe7a8a12ff6d3ba1.tar.bz2
gentoo-83575c9121bcefb785967e5bfe7a8a12ff6d3ba1.zip
sci-libs/tensorflow: bump 1.14.0_rc0
Signed-off-by: Jason Zaman <perfinion@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'sci-libs/tensorflow/files')
-rw-r--r--sci-libs/tensorflow/files/tensorflow-1.14_rc0-0001-systemlibs-unbundle-enum34.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/sci-libs/tensorflow/files/tensorflow-1.14_rc0-0001-systemlibs-unbundle-enum34.patch b/sci-libs/tensorflow/files/tensorflow-1.14_rc0-0001-systemlibs-unbundle-enum34.patch
new file mode 100644
index 000000000000..b34eefd2665d
--- /dev/null
+++ b/sci-libs/tensorflow/files/tensorflow-1.14_rc0-0001-systemlibs-unbundle-enum34.patch
@@ -0,0 +1,60 @@
+From 6339084d186e518136e13b761220423d6b5c849a Mon Sep 17 00:00:00 2001
+From: Jason Zaman <jason@perfinion.com>
+Date: Wed, 29 May 2019 19:27:11 +0800
+Subject: [PATCH] systemlibs: unbundle enum34
+
+Signed-off-by: Jason Zaman <jason@perfinion.com>
+---
+ tensorflow/workspace.bzl | 1 +
+ third_party/systemlibs/enum34.BUILD | 14 ++++++++++++++
+ third_party/systemlibs/syslibs_configure.bzl | 1 +
+ 3 files changed, 16 insertions(+)
+ create mode 100644 third_party/systemlibs/enum34.BUILD
+
+diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl
+index 55d7eb9371..a53a12e720 100755
+--- a/tensorflow/workspace.bzl
++++ b/tensorflow/workspace.bzl
+@@ -346,6 +346,7 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""):
+ ],
+ sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1",
+ build_file = clean_dep("//third_party:enum34.BUILD"),
++ system_build_file = clean_dep("//third_party/systemlibs:enum34.BUILD"),
+ strip_prefix = "enum34-1.1.6/enum",
+ )
+
+diff --git a/third_party/systemlibs/enum34.BUILD b/third_party/systemlibs/enum34.BUILD
+new file mode 100644
+index 0000000000..de14bd5641
+--- /dev/null
++++ b/third_party/systemlibs/enum34.BUILD
+@@ -0,0 +1,14 @@
++# Description:
++# enum34 provides a backport of the enum module for Python 2.
++
++licenses(["notice"]) # MIT
++
++filegroup(
++ name = "LICENSE",
++ visibility = ["//visibility:public"],
++)
++
++py_library(
++ name = "enum",
++ visibility = ["//visibility:public"],
++)
+diff --git a/third_party/systemlibs/syslibs_configure.bzl b/third_party/systemlibs/syslibs_configure.bzl
+index a2d4123fd6..16f3b09697 100644
+--- a/third_party/systemlibs/syslibs_configure.bzl
++++ b/third_party/systemlibs/syslibs_configure.bzl
+@@ -21,6 +21,7 @@ VALID_LIBS = [
+ "curl",
+ "cython",
+ "double_conversion",
++ "enum34_archive",
+ "flatbuffers",
+ "gast_archive",
+ "gif_archive",
+--
+2.21.0
+