From 836a9a413895756b614910205acf34a8c4b1aaed Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Sun, 15 Apr 2018 11:46:48 +0200
Subject: [PATCH] using intel mkl sequential by default if intel compilers

---
 CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cb37c9d98..8f07a862d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -248,6 +248,11 @@ endif()
 #option(CHAMELEON_GEN_PREC "Generate source files precisions" ON)
 #------------------------------------------------------------------------------
 
+# If Intel compiler force using Intel MKL Sequential if BLA_VENDOR not set
+if (CMAKE_C_COMPILER_ID MATCHES "Intel" AND (NOT BLA_VENDOR OR BLA_VENDOR STREQUAL "All"))
+  set (BLA_VENDOR "Intel10_64lp_seq")
+endif()
+
 ###############################################################################
 # Build dependency HQR library #
 ################################
-- 
GitLab