From 1a1c5a44dfaa87cb8a6292e03c57d77b987320b4 Mon Sep 17 00:00:00 2001 From: julie Date: Thu, 30 Dec 2010 23:11:32 +0000 Subject: [PATCH] Added acml_mv to the ACML link libraries - Chuck Atkins (Kitware) --- CMAKE/FindBLAS.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMAKE/FindBLAS.cmake b/CMAKE/FindBLAS.cmake index 647abb4d..35442710 100644 --- a/CMAKE/FindBLAS.cmake +++ b/CMAKE/FindBLAS.cmake @@ -18,7 +18,7 @@ # BLAS_${VENDOR}_LIB_DIRS - An additional library dir to search for: # Ex: # BLAS_ACML_LIB_DIRS=/opt/acml4.4.0/gfortran64/lib -# BLAS_MKL_LP64_LIB_DIRS=/opt/intel/mkl/lib/intel64 +# BLAS_MKL_LIB_DIRS=/opt/intel/mkl/lib/intel64 ########## # # Valid values for the BLAS_VENDOR setting are: @@ -250,7 +250,7 @@ foreach( _BLAS_VENDOR ${BLAS_VENDORS} ) if( _BLAS_VENDOR STREQUAL "ACML_MP" ) message( STATUS "FindBLAS: Searching for AMD ACML MP" ) foreach( BLAS_ACML_MP_LIB_DIRS ${_ACML_MP_LIB_DIRS} ) - _BLAS_LOCATE_AND_TEST( ${_BLAS_VENDOR} "acml_mp" "" ) + _BLAS_LOCATE_AND_TEST( ${_BLAS_VENDOR} "acml_mp;acml_mv" "" ) if( BLAS_${_BLAS_VENDOR}_FOUND ) break() endif() @@ -258,7 +258,7 @@ foreach( _BLAS_VENDOR ${BLAS_VENDORS} ) else() #if( _BLAS_VENDOR STREQUAL "ACML" ) message( STATUS "FindBLAS: Searching for AMD ACML" ) foreach( BLAS_ACML_LIB_DIRS ${_ACML_LIB_DIRS} ) - _BLAS_LOCATE_AND_TEST( ${_BLAS_VENDOR} "acml" "" ) + _BLAS_LOCATE_AND_TEST( ${_BLAS_VENDOR} "acml;acml_mv" "" ) if( BLAS_${_BLAS_VENDOR}_FOUND ) break() endif() -- 2.34.1