aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/mkl/build_defs.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/mkl/build_defs.bzl')
-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
+ })