annotate armadillo-2.4.4/build_aux/cmake/Modules/ARMA_FindACMLMP.cmake @ 0:8b6102e2a9b0

Armadillo Library
author maxzanoni76 <max.zanoni@eecs.qmul.ac.uk>
date Wed, 11 Apr 2012 09:27:06 +0100
parents
children
rev   line source
max@0 1 # - Find AMD's ACMLMP library (no includes) which provides optimised and parallelised BLAS and LAPACK functions
max@0 2 # This module defines
max@0 3 # ACMLMP_LIBRARIES, the libraries needed to use ACMLMP.
max@0 4 # ACMLMP_FOUND, If false, do not try to use ACMLMP.
max@0 5 # also defined, but not for general use are
max@0 6 # ACMLMP_LIBRARY, where to find the ACMLMP library.
max@0 7
max@0 8 SET(ACMLMP_NAMES ${ACMLMP_NAMES} acml_mp)
max@0 9 FIND_LIBRARY(ACMLMP_LIBRARY
max@0 10 NAMES ${ACMLMP_NAMES}
max@0 11 PATHS /usr/lib64 /usr/lib /usr/*/lib64 /usr/*/lib /usr/*/gfortran64_mp/lib/ /usr/*/gfortran32_mp/lib/ /usr/local/lib64 /usr/local/lib /opt/lib64 /opt/lib /opt/*/lib64 /opt/*/lib /opt/*/gfortran64_mp/lib/ /opt/*/gfortran32_mp/lib/
max@0 12 )
max@0 13
max@0 14 IF (ACMLMP_LIBRARY)
max@0 15 SET(ACMLMP_LIBRARIES ${ACMLMP_LIBRARY})
max@0 16 SET(ACMLMP_FOUND "YES")
max@0 17 ELSE (ACMLMP_LIBRARY)
max@0 18 SET(ACMLMP_FOUND "NO")
max@0 19 ENDIF (ACMLMP_LIBRARY)
max@0 20
max@0 21
max@0 22 IF (ACMLMP_FOUND)
max@0 23 IF (NOT ACMLMP_FIND_QUIETLY)
max@0 24 MESSAGE(STATUS "Found the ACMLMP library: ${ACMLMP_LIBRARIES}")
max@0 25 ENDIF (NOT ACMLMP_FIND_QUIETLY)
max@0 26 ELSE (ACMLMP_FOUND)
max@0 27 IF (ACMLMP_FIND_REQUIRED)
max@0 28 MESSAGE(FATAL_ERROR "Could not find the ACMLMP library")
max@0 29 ENDIF (ACMLMP_FIND_REQUIRED)
max@0 30 ENDIF (ACMLMP_FOUND)
max@0 31
max@0 32 # Deprecated declarations.
max@0 33 GET_FILENAME_COMPONENT (NATIVE_ACMLMP_LIB_PATH ${ACMLMP_LIBRARY} PATH)
max@0 34
max@0 35 MARK_AS_ADVANCED(
max@0 36 ACMLMP_LIBRARY
max@0 37 )