projects
/
platform
/
upstream
/
tensorflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e6d0fa
)
Remove "-lpthread" when building tests on macos.
author
Gunhan Gulsoy
<gunan@google.com>
Tue, 3 Apr 2018 08:01:16 +0000
(
01:01
-0700)
committer
TensorFlower Gardener
<gardener@tensorflow.org>
Tue, 3 Apr 2018 08:04:09 +0000
(
01:04
-0700)
In most cases it seems to be not used.
PiperOrigin-RevId:
191407383
tensorflow/tensorflow.bzl
patch
|
blob
|
history
diff --git
a/tensorflow/tensorflow.bzl
b/tensorflow/tensorflow.bzl
index
e9d2f27
..
098ae7e
100644
(file)
--- a/
tensorflow/tensorflow.bzl
+++ b/
tensorflow/tensorflow.bzl
@@
-638,9
+638,12
@@
def tf_cc_test(name,
linkopts=select({
clean_dep("//tensorflow:android"): [
"-pie",
-
],
+ ],
clean_dep("//tensorflow:windows"): [],
clean_dep("//tensorflow:windows_msvc"): [],
+ clean_dep("//tensorflow:darwin"): [
+ "-lm",
+ ],
"//conditions:default": [
"-lpthread",
"-lm"