summaryrefslogtreecommitdiffstats
path: root/Modules/FindLAPACK.cmake
diff options
context:
space:
mode:
authorAlexey Ozeritsky <aozeritsky@gmail.com>2011-08-11 08:23:49 (GMT)
committerAlexey Ozeritsky <aozeritsky@gmail.com>2011-08-11 08:23:49 (GMT)
commit91b76e2ab9ed286f20609ab2a0161e4e8c1f507e (patch)
tree77b0a6d70c53e7e72ad1652008e1fa0e977553d2 /Modules/FindLAPACK.cmake
parent66a4bd0cfb41abc7713506590443073e7da67ef6 (diff)
downloadCMake-91b76e2ab9ed286f20609ab2a0161e4e8c1f507e.zip
CMake-91b76e2ab9ed286f20609ab2a0161e4e8c1f507e.tar.gz
CMake-91b76e2ab9ed286f20609ab2a0161e4e8c1f507e.tar.bz2
gotoblas supported
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r--Modules/FindLAPACK.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index c57b2e9..1219102 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -149,6 +149,21 @@ if(BLAS_FOUND)
endif(NOT BLA_VENDOR)
endif ($ENV{BLA_VENDOR} MATCHES ".+")
+if (BLA_VENDOR STREQUAL "Goto" OR BLA_VENDOR STREQUAL "All")
+ if(NOT LAPACK_LIBRARIES)
+ check_lapack_libraries(
+ LAPACK_LIBRARIES
+ LAPACK
+ cheev
+ ""
+ "goto2"
+ "${BLAS_LIBRARIES}"
+ ""
+ )
+ endif(NOT LAPACK_LIBRARIES)
+endif (BLA_VENDOR STREQUAL "Goto" OR BLA_VENDOR STREQUAL "All")
+
+
#acml lapack
if (BLA_VENDOR STREQUAL "ACML" OR BLA_VENDOR STREQUAL "ACML_MP" OR BLA_VENDOR STREQUAL "All")
if (BLAS_LIBRARIES MATCHES ".+acml.+")