summaryrefslogtreecommitdiffstats
path: root/Modules/FindLAPACK.cmake
diff options
context:
space:
mode:
authorMattias Ellert <mattias.ellert@physics.uu.se>2020-09-14 19:40:33 (GMT)
committerMattias Ellert <mattias.ellert@physics.uu.se>2020-09-14 19:40:33 (GMT)
commit68349ae214ad28d6945c7e700baaf51c57bfbff5 (patch)
tree9cd7ccba23df555fcf49ca21a6bba33384485085 /Modules/FindLAPACK.cmake
parentb8fd97735ba9e6a2be3e761d5969a04435313277 (diff)
downloadCMake-68349ae214ad28d6945c7e700baaf51c57bfbff5.zip
CMake-68349ae214ad28d6945c7e700baaf51c57bfbff5.tar.gz
CMake-68349ae214ad28d6945c7e700baaf51c57bfbff5.tar.bz2
Find{BLAS,LAPACK}: Add support for FlexiBLAS
http://www.mpi-magdeburg.mpg.de/mpcsc/software/FlexiBLAS/
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r--Modules/FindLAPACK.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index 438551e..4b71cee 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -26,6 +26,7 @@ The following variables may be set to influence this module's behavior:
If set, checks only the specified vendor, if not set checks all the
possibilities. List of vendors valid in this module:
+ * ``FlexiBLAS``
* ``OpenBLAS``
* ``FLAME``
* ``Intel10_32`` (intel mkl v10 32 bit, threaded code)
@@ -378,6 +379,22 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
)
endif()
+ # FlexiBLAS? (http://www.mpi-magdeburg.mpg.de/mpcsc/software/FlexiBLAS/)
+ if(NOT LAPACK_LIBRARIES
+ AND (BLA_VENDOR STREQUAL "FlexiBLAS" OR BLA_VENDOR STREQUAL "All"))
+ check_lapack_libraries(
+ LAPACK_LIBRARIES
+ LAPACK
+ cheev
+ ""
+ "flexiblas"
+ ""
+ ""
+ ""
+ "${BLAS_LIBRARIES}"
+ )
+ endif()
+
# OpenBLAS? (http://www.openblas.net)
if(NOT LAPACK_LIBRARIES
AND (BLA_VENDOR STREQUAL "OpenBLAS" OR BLA_VENDOR STREQUAL "All"))