diff options
author | J M Dieterich <dieterich@ogolem.org> | 2017-11-15 17:00:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-16 16:43:15 (GMT) |
commit | f5bc78263e15f07fc1fed15d970d7ecf9e84f7cc (patch) | |
tree | cb84e712152de2b62caef9abaf2bd27cd92e8afa /Modules/FindLAPACK.cmake | |
parent | e31288582977c10972af9baa3b0e41d758094d21 (diff) | |
download | CMake-f5bc78263e15f07fc1fed15d970d7ecf9e84f7cc.zip CMake-f5bc78263e15f07fc1fed15d970d7ecf9e84f7cc.tar.gz CMake-f5bc78263e15f07fc1fed15d970d7ecf9e84f7cc.tar.bz2 |
Find{BLAS,LAPACK}: Add support for FLAME blis and libflame
FLAME (github.com/flame) provides a variety of numerical libraries.
`blis` and `libflame` can be setup to expose BLAS/LAPACK interfaces.
Fixes: #17470
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r-- | Modules/FindLAPACK.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index a451e6c..a3c87f8 100644 --- a/Modules/FindLAPACK.cmake +++ b/Modules/FindLAPACK.cmake @@ -37,6 +37,7 @@ # # * Intel(mkl) # * OpenBLAS +# * FLAME # * ACML # * Apple # * NAS @@ -201,6 +202,20 @@ if (BLA_VENDOR STREQUAL "OpenBLAS" OR BLA_VENDOR STREQUAL "All") endif() endif () +if (BLA_VENDOR STREQUAL "FLAME" OR BLA_VENDOR STREQUAL "All") + if(NOT LAPACK_LIBRARIES) + check_lapack_libraries( + LAPACK_LIBRARIES + LAPACK + cheev + "" + "flame" + "${BLAS_LIBRARIES}" + "" + ) + endif() +endif () + #acml lapack if (BLA_VENDOR MATCHES "ACML" OR BLA_VENDOR STREQUAL "All") if (BLAS_LIBRARIES MATCHES ".+acml.+") |