summaryrefslogtreecommitdiff
path: root/science/py-tensorflow/files/patch-tensorflow_contrib_boosted__trees_BUILD
blob: 86587ade0ef5ab85ee187031ba5ba920a10ded98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- tensorflow/contrib/boosted_trees/BUILD.orig	2019-10-14 21:08:43 UTC
+++ tensorflow/contrib/boosted_trees/BUILD
@@ -24,6 +24,10 @@ cc_library(
         ":stats_accumulator_ops_kernels",
         ":training_ops_kernels",
     ],
+    linkopts = select({
+        "//tensorflow:freebsd": ["-lm", "-lexecinfo",],
+    }),
+
     alwayslink = 1,
 )
 
@@ -37,6 +41,10 @@ cc_library(
         ":stats_accumulator_ops_op_lib",
         ":training_ops_op_lib",
     ],
+    linkopts = select({
+        "//tensorflow:freebsd": ["-lm", "-lexecinfo",],
+    }),
+
 )
 
 py_library(