summaryrefslogtreecommitdiffstats
path: root/Modules/FindBLAS.cmake
diff options
context:
space:
mode:
authorWilliam R. Dieter <william.r.dieter@intel.com>2020-11-03 01:11:25 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-28 14:07:01 (GMT)
commitaedb9add56f09a43755948bf973d7f9893a0a0ea (patch)
tree4dc65040238ed616bd98dc768ba9c1060c0bf7af /Modules/FindBLAS.cmake
parent37ac9df3424663c49b1c1992fcbd3e64833c6936 (diff)
downloadCMake-aedb9add56f09a43755948bf973d7f9893a0a0ea.zip
CMake-aedb9add56f09a43755948bf973d7f9893a0a0ea.tar.gz
CMake-aedb9add56f09a43755948bf973d7f9893a0a0ea.tar.bz2
FindBLAS: Add support for IntelLLVM
Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r--Modules/FindBLAS.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index 01d0236..4cf812b 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -842,6 +842,9 @@ if(BLA_VENDOR MATCHES "ACML" OR BLA_VENDOR STREQUAL "All")
if(CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
set(_ACML_COMPILER32 "ifort32")
set(_ACML_COMPILER64 "ifort64")
+ elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "IntelLLVM")
+ # 32-bit not supported
+ set(_ACML_COMPILER64 "ifx")
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "SunPro")
set(_ACML_COMPILER32 "sun32")
set(_ACML_COMPILER64 "sun64")