diff options
author | Mattias Ellert <mattias.ellert@physics.uu.se> | 2020-09-14 19:40:33 (GMT) |
---|---|---|
committer | Mattias Ellert <mattias.ellert@physics.uu.se> | 2020-09-14 19:40:33 (GMT) |
commit | 68349ae214ad28d6945c7e700baaf51c57bfbff5 (patch) | |
tree | 9cd7ccba23df555fcf49ca21a6bba33384485085 /Modules/FindBLAS.cmake | |
parent | b8fd97735ba9e6a2be3e761d5969a04435313277 (diff) | |
download | CMake-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/FindBLAS.cmake')
-rw-r--r-- | Modules/FindBLAS.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 88a252d..e4353df 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -27,6 +27,7 @@ The following variables may be set to influence this module's behavior: possibilities. List of vendors valid in this module: * ``Goto`` + * ``FlexiBLAS`` * ``OpenBLAS`` * ``FLAME`` * ``ATLAS PhiPACK`` @@ -549,6 +550,22 @@ if(BLA_VENDOR STREQUAL "Goto" OR BLA_VENDOR STREQUAL "All") endif() endif() +# FlexiBLAS? (http://www.mpi-magdeburg.mpg.de/mpcsc/software/FlexiBLAS/) +if(BLA_VENDOR STREQUAL "FlexiBLAS" OR BLA_VENDOR STREQUAL "All") + if(NOT BLAS_LIBRARIES) + check_blas_libraries( + BLAS_LIBRARIES + BLAS + sgemm + "" + "flexiblas" + "" + "" + "" + ) + endif() +endif() + # OpenBLAS? (http://www.openblas.net) if(BLA_VENDOR STREQUAL "OpenBLAS" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) |