diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2018-03-22 05:33:42 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-03-22 05:36:18 -0700 |
commit | 9e651e4571f7b7c2d32bdafe43cc4ced9bb0c750 (patch) | |
tree | 969e4652bf4774e474ac8449df53a14761f156ab /third_party/mkl_dnn/mkldnn.BUILD | |
parent | f9ccb89134d89469ae962bba832e78d1f116b96b (diff) |
Allow to download clang and use clang for CPU builds.
Previously we only allowed to download clang when doing GPU builds.
The added skylark files use bazel's autoconf scripts, which were only added in
0.10.0. To provide nice error message for older versions of bazel
(i.e. 'version is less than 0.10' vs 'can't load @bazel_tools/cpp/...'), we
move the bazel version check into WORKSPACE file from workspace.bzl.
PiperOrigin-RevId: 190050798
Diffstat (limited to 'third_party/mkl_dnn/mkldnn.BUILD')
-rw-r--r-- | third_party/mkl_dnn/mkldnn.BUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/mkl_dnn/mkldnn.BUILD b/third_party/mkl_dnn/mkldnn.BUILD index 752a0d8498..68f24aabae 100644 --- a/third_party/mkl_dnn/mkldnn.BUILD +++ b/third_party/mkl_dnn/mkldnn.BUILD @@ -4,7 +4,7 @@ config_setting( name = "clang_linux_x86_64", values = { "cpu": "k8", - "define": "using_cuda_clang=true", + "define": "using_clang=true", }, ) |