summaryrefslogtreecommitdiff
path: root/science/py-tensorflow/files/patch-tensorflow_workspace.bzl
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-10-12 18:37:07 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-10-12 18:37:07 +0000
commitb3ab9cf93726f7219c60161b8da3d091704093da (patch)
tree9c9e2968a688f68eddfa7766dd938bc680342ad5 /science/py-tensorflow/files/patch-tensorflow_workspace.bzl
parentmultimedia/obs-studio: add powerpc64le to LUAJIT users (diff)
science/py-tensorflow: fix build on powerpc64
The bundled abseil needs the same patch that was already upstreamed. Approved by: portmgr (blanket: build fix) PR: 259082
Diffstat (limited to 'science/py-tensorflow/files/patch-tensorflow_workspace.bzl')
-rw-r--r--science/py-tensorflow/files/patch-tensorflow_workspace.bzl12
1 files changed, 10 insertions, 2 deletions
diff --git a/science/py-tensorflow/files/patch-tensorflow_workspace.bzl b/science/py-tensorflow/files/patch-tensorflow_workspace.bzl
index d25f9d632e8e..45a4a12c3d2b 100644
--- a/science/py-tensorflow/files/patch-tensorflow_workspace.bzl
+++ b/science/py-tensorflow/files/patch-tensorflow_workspace.bzl
@@ -1,6 +1,14 @@
---- tensorflow/workspace.bzl.orig 2021-07-08 11:05:27 UTC
+--- tensorflow/workspace.bzl.orig 2021-01-04 20:18:42 UTC
+++ tensorflow/workspace.bzl
-@@ -324,6 +324,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = "
+@@ -157,6 +157,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = "
+ tf_http_archive(
+ name = "com_google_absl",
+ build_file = clean_dep("//third_party:com_google_absl.BUILD"),
++ patch_file = clean_dep("//third_party:extra-patch-absl_base_internal_unscaledcycleclock.cc"),
+ sha256 = "acd93f6baaedc4414ebd08b33bebca7c7a46888916101d8c0b8083573526d070",
+ strip_prefix = "abseil-cpp-43ef2148c0936ebf7cb4be6b19927a9d9d145b8f",
+ urls = [
+@@ -324,6 +325,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = "
build_file = clean_dep("//third_party:functools32.BUILD"),
sha256 = "f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d",
strip_prefix = "functools32-3.2.3-2",