aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/mkl
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2017-02-09 11:05:12 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2017-02-09 11:05:12 -0800
commitee35de4d92bbae179a2bf93e9c00a991c095b591 (patch)
tree3c697ea527336cca6c43b6c7a9493caaa8e4e918 /third_party/mkl
parentc7fca9eed7b584cbfd95b253908c51f4e9b7fa8b (diff)
parent9683b095fce7b77df01d95ac3b07dcd17a083782 (diff)
Merge commit for internal changes
Diffstat (limited to 'third_party/mkl')
-rw-r--r--third_party/mkl/BUILD5
-rw-r--r--third_party/mkl/build_defs.bzl26
2 files changed, 17 insertions, 14 deletions
diff --git a/third_party/mkl/BUILD b/third_party/mkl/BUILD
index 7dd348975d..ddaf29a086 100644
--- a/third_party/mkl/BUILD
+++ b/third_party/mkl/BUILD
@@ -10,7 +10,10 @@ config_setting(
cc_library(
name = "intel_binary_blob",
+ srcs = [
+ "libiomp5.so",
+ "libmklml_intel.so",
+ ],
includes = ["."],
- srcs = ["libmklml_intel.so", "libiomp5.so"],
visibility = ["//visibility:public"],
)
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
+ })