Find{BLAS,LAPACK}: Add support for FlexiBLAS

http://www.mpi-magdeburg.mpg.de/mpcsc/software/FlexiBLAS/
This commit is contained in:
Mattias Ellert
2020-09-14 21:40:33 +02:00
parent b8fd97735b
commit 68349ae214
2 changed files with 34 additions and 0 deletions

View File

@@ -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)

View File

@@ -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"))