diff options
author | 2016-05-13 12:28:01 -0800 | |
---|---|---|
committer | 2016-05-13 13:31:13 -0700 | |
commit | 6fa2ed1b707f6d5498bfdca1adce942a16302298 (patch) | |
tree | 4c30798b7988067e6bfcd5e1b1bf13132229095e /third_party/gpus/cuda | |
parent | 94e392e5346550ba2e0c20520d2106ff49adcfb4 (diff) |
Add //third_party/gpus/cuda:using_clang build condition.
This is unused at the moment, but will eventually let us build CUDA code
with vanilla clang.
Change: 122289910
Diffstat (limited to 'third_party/gpus/cuda')
-rw-r--r-- | third_party/gpus/cuda/BUILD | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/gpus/cuda/BUILD b/third_party/gpus/cuda/BUILD index abc391f326..a130fade72 100644 --- a/third_party/gpus/cuda/BUILD +++ b/third_party/gpus/cuda/BUILD @@ -31,6 +31,13 @@ config_setting( ) config_setting( + name = "using_clang", + values = { + "define": "using_cuda_clang=true", + }, +) + +config_setting( name = "darwin", values = {"cpu": "darwin"}, visibility = ["//visibility:public"], |