summaryrefslogtreecommitdiff
path: root/science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl
diff options
context:
space:
mode:
authorAnthony Donnelly <amzo1337@gmail.com>2021-07-08 17:27:30 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2021-07-08 17:31:37 -0700
commit3dccfaa0cdd58e4ba5cde9d68ddf1351b55db1ef (patch)
treea6eb958fb4d4cbed1e11add61edc0edeebc2cf20 /science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl
parentdevel/google-cloud-cpp117: New port: C++ Idiomatic Clients for Google Cloud P... (diff)
science/py-tensorflow: Update 1.14.0 -> 1.15.5
PR: 250646
Diffstat (limited to 'science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl')
-rw-r--r--science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl22
1 files changed, 11 insertions, 11 deletions
diff --git a/science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl b/science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl
index 9eb43a60af6b..1856d11f6a7d 100644
--- a/science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl
+++ b/science/py-tensorflow/files/patch-tensorflow_tensorflow.bzl
@@ -1,14 +1,14 @@
---- tensorflow/tensorflow.bzl.orig 2019-06-18 23:48:23.000000000 +0100
-+++ tensorflow/tensorflow.bzl 2019-07-13 13:57:17.579194000 +0100
-@@ -287,6 +287,7 @@
+--- tensorflow/tensorflow.bzl.orig 2021-01-04 20:18:42 UTC
++++ tensorflow/tensorflow.bzl
+@@ -289,6 +289,7 @@ def tf_copts(
+ "-Iexternal/gemmlowp",
"-Wno-sign-compare",
- "-fno-exceptions",
"-ftemplate-depth=900",
+ "-I%%LOCALBASE%%/include",
]) +
+ (if_not_windows(["-fno-exceptions"]) if not allow_exceptions else []) +
if_cuda(["-DGOOGLE_CUDA=1"]) +
- if_tensorrt(["-DGOOGLE_TENSORRT=1"]) +
-@@ -603,7 +604,7 @@
+@@ -628,7 +629,7 @@ def tf_cc_binary(
],
),
data = depset(data + added_data_deps),
@@ -17,7 +17,7 @@
visibility = visibility,
**kwargs
)
-@@ -657,7 +658,7 @@
+@@ -693,7 +694,7 @@ def tf_gen_op_wrapper_cc(
tf_cc_binary(
name = tool,
copts = tf_copts(),
@@ -26,7 +26,7 @@
linkstatic = 1, # Faster to link this one-time-use binary dynamically
deps = [op_gen] + deps,
)
-@@ -839,7 +840,7 @@
+@@ -878,7 +879,7 @@ def tf_gen_op_wrapper_py(
tf_cc_binary(
name = tool_name,
copts = tf_copts(),
@@ -35,7 +35,7 @@
linkstatic = 1, # Faster to link this one-time-use binary dynamically
visibility = [clean_dep("//tensorflow:internal")],
deps = ([
-@@ -954,8 +955,9 @@
+@@ -992,8 +993,9 @@ def tf_cc_test(
"//conditions:default": [
"-lpthread",
"-lm",
@@ -46,7 +46,7 @@
deps = deps + tf_binary_dynamic_kernel_deps(kernels) + if_mkl_ml(
[
clean_dep("//third_party/mkl:intel_binary_blob"),
-@@ -1103,7 +1105,7 @@
+@@ -1140,7 +1142,7 @@ def tf_gpu_only_cc_test(
]) + if_rocm_is_configured([
clean_dep("//tensorflow/core:gpu_lib"),
]),
@@ -55,7 +55,7 @@
linkstatic = linkstatic or select({
# cc_tests with ".so"s in srcs incorrectly link on Darwin
# unless linkstatic=1.
-@@ -1784,6 +1786,7 @@
+@@ -1820,6 +1822,7 @@ def tf_custom_op_library(name, srcs = [], gpu_srcs = [
linkopts = linkopts + select({
"//conditions:default": [
"-lm",