diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2016-10-10 10:26:22 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-10-10 11:35:00 -0700 |
commit | edaf3b342db4afa1c872da541fb0ac176a4e8ef9 (patch) | |
tree | b976073fdc2a6404cbdc3ee323a637e2e1b16846 /third_party/gpus/cuda/BUILD.tpl | |
parent | d1518c26530daaee854e73365bd7dfb9a2f69dbd (diff) |
Merge changes from github.
Change: 135698415
Diffstat (limited to 'third_party/gpus/cuda/BUILD.tpl')
-rw-r--r-- | third_party/gpus/cuda/BUILD.tpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/third_party/gpus/cuda/BUILD.tpl b/third_party/gpus/cuda/BUILD.tpl index c920d64a79..cb985c2251 100644 --- a/third_party/gpus/cuda/BUILD.tpl +++ b/third_party/gpus/cuda/BUILD.tpl @@ -58,10 +58,8 @@ cc_library( linkopts = [ "-ldl", "-lpthread", - ] + select({ - "@//tensorflow:darwin": [], - "//conditions:default": ["-lrt"], - }), + %{cudart_static_linkopt} + ], visibility = ["//visibility:public"], ) |