diff options
author | Alexey Ozeritsky <aozeritsky@gmail.com> | 2011-08-11 08:23:49 (GMT) |
---|---|---|
committer | Alexey Ozeritsky <aozeritsky@gmail.com> | 2011-08-11 08:23:49 (GMT) |
commit | 91b76e2ab9ed286f20609ab2a0161e4e8c1f507e (patch) | |
tree | 77b0a6d70c53e7e72ad1652008e1fa0e977553d2 /Modules/FindBLAS.cmake | |
parent | 66a4bd0cfb41abc7713506590443073e7da67ef6 (diff) | |
download | CMake-91b76e2ab9ed286f20609ab2a0161e4e8c1f507e.zip CMake-91b76e2ab9ed286f20609ab2a0161e4e8c1f507e.tar.gz CMake-91b76e2ab9ed286f20609ab2a0161e4e8c1f507e.tar.bz2 |
gotoblas supported
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r-- | Modules/FindBLAS.cmake | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 37355bf..4431778 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -22,7 +22,7 @@ # BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK ########## ### List of vendors (BLA_VENDOR) valid in this module -## ATLAS, PhiPACK,CXML,DXML,SunPerf,SCSL,SGIMATH,IBMESSL,Intel10_32 (intel mkl v10 32 bit),Intel10_64lp (intel mkl v10 64 bit,lp thread model, lp64 model), +## Goto,ATLAS PhiPACK,CXML,DXML,SunPerf,SCSL,SGIMATH,IBMESSL,Intel10_32 (intel mkl v10 32 bit),Intel10_64lp (intel mkl v10 64 bit,lp thread model, lp64 model), ## Intel( older versions of mkl 32 and 64 bit), ACML,ACML_MP,Apple, NAS, Generic # C/CXX should be enabled to use Intel mkl @@ -137,6 +137,20 @@ else ($ENV{BLA_VENDOR} MATCHES ".+") endif(NOT BLA_VENDOR) endif ($ENV{BLA_VENDOR} MATCHES ".+") +if (BLA_VENDOR STREQUAL "Goto" OR BLA_VENDOR STREQUAL "All") + if(NOT BLAS_LIBRARIES) + # BLAS in ATLAS library? (http://math-atlas.sourceforge.net/) + check_fortran_libraries( + BLAS_LIBRARIES + BLAS + sgemm + "" + "goto2" + "" + ) + endif(NOT BLAS_LIBRARIES) +endif (BLA_VENDOR STREQUAL "Goto" OR BLA_VENDOR STREQUAL "All") + if (BLA_VENDOR STREQUAL "ATLAS" OR BLA_VENDOR STREQUAL "All") if(NOT BLAS_LIBRARIES) # BLAS in ATLAS library? (http://math-atlas.sourceforge.net/) |