aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/mkl
diff options
context:
space:
mode:
authorGravatar vivek-rane <vivek.v.rane@intel.com>2017-02-24 10:44:28 -0800
committerGravatar GitHub <noreply@github.com>2017-02-24 10:44:28 -0800
commit493c5d16a69cc6aa887bb1e47676dd9fb87d9439 (patch)
treeb03c7b90ea76d338538c492869c97310aa2b6ca0 /third_party/mkl
parent9cf7bb30fee1cbaf920391b7c0111a762e64fd82 (diff)
parent904510eeaa40b0c8f982fbb679d827688cb35b01 (diff)
Merge branch 'master' into mkl-matmul
Diffstat (limited to 'third_party/mkl')
-rw-r--r--third_party/mkl/build_defs.bzl26
1 files changed, 13 insertions, 13 deletions
diff --git a/third_party/mkl/build_defs.bzl b/third_party/mkl/build_defs.bzl
index da89330c5a..9a28b312c2 100644
--- a/third_party/mkl/build_defs.bzl
+++ b/third_party/mkl/build_defs.bzl
@@ -1,13 +1,13 @@
-# Macros for building MKL code.
-
-def if_mkl(if_true, if_false = []):
- """Shorthand for select()'ing on whether we're building with MKL.
-
- Returns a select statement which evaluates to if_true if we're building
- with MKL enabled. Otherwise, the select statement evaluates to if_false.
-
- """
- return select({
- "//third_party/mkl:using_mkl": if_true,
- "//conditions:default": if_false
- })
+# Macros for building MKL code.
+
+def if_mkl(if_true, if_false = []):
+ """Shorthand for select()'ing on whether we're building with MKL.
+
+ Returns a select statement which evaluates to if_true if we're building
+ with MKL enabled. Otherwise, the select statement evaluates to if_false.
+
+ """
+ return select({
+ "//third_party/mkl:using_mkl": if_true,
+ "//conditions:default": if_false
+ })