annotate armadillo-2.4.4/build_aux/cmake/Modules/ARMA_FindACML.cmake @ 48:69251e11a913
Rename SongParts/songpartitioner to Segmentino throughout
author |
Chris Cannam |
date |
Thu, 13 Jun 2013 09:43:01 +0100 |
parents |
8b6102e2a9b0 |
children |
|
rev |
line source |
max@0
|
1 # - Find AMD's ACML library (no includes) which provides optimised BLAS and LAPACK functions
|
max@0
|
2 # This module defines
|
max@0
|
3 # ACML_LIBRARIES, the libraries needed to use ACML.
|
max@0
|
4 # ACML_FOUND, If false, do not try to use ACML.
|
max@0
|
5 # also defined, but not for general use are
|
max@0
|
6 # ACML_LIBRARY, where to find the ACML library.
|
max@0
|
7
|
max@0
|
8 SET(ACML_NAMES ${ACML_NAMES} acml)
|
max@0
|
9 FIND_LIBRARY(ACML_LIBRARY
|
max@0
|
10 NAMES ${ACML_NAMES}
|
max@0
|
11 PATHS /usr/lib64 /usr/lib /usr/*/lib64 /usr/*/lib /usr/*/gfortran64/lib/ /usr/*/gfortran32/lib/ /usr/local/lib64 /usr/local/lib /opt/lib64 /opt/lib /opt/*/lib64 /opt/*/lib /opt/*/gfortran64/lib/ /opt/*/gfortran32/lib/
|
max@0
|
12 )
|
max@0
|
13
|
max@0
|
14 IF (ACML_LIBRARY)
|
max@0
|
15 SET(ACML_LIBRARIES ${ACML_LIBRARY})
|
max@0
|
16 SET(ACML_FOUND "YES")
|
max@0
|
17 ELSE (ACML_LIBRARY)
|
max@0
|
18 SET(ACML_FOUND "NO")
|
max@0
|
19 ENDIF (ACML_LIBRARY)
|
max@0
|
20
|
max@0
|
21
|
max@0
|
22 IF (ACML_FOUND)
|
max@0
|
23 IF (NOT ACML_FIND_QUIETLY)
|
max@0
|
24 MESSAGE(STATUS "Found the ACML library: ${ACML_LIBRARIES}")
|
max@0
|
25 ENDIF (NOT ACML_FIND_QUIETLY)
|
max@0
|
26 ELSE (ACML_FOUND)
|
max@0
|
27 IF (ACML_FIND_REQUIRED)
|
max@0
|
28 MESSAGE(FATAL_ERROR "Could not find the ACML library")
|
max@0
|
29 ENDIF (ACML_FIND_REQUIRED)
|
max@0
|
30 ENDIF (ACML_FOUND)
|
max@0
|
31
|
max@0
|
32 # Deprecated declarations.
|
max@0
|
33 GET_FILENAME_COMPONENT (NATIVE_ACML_LIB_PATH ${ACML_LIBRARY} PATH)
|
max@0
|
34
|
max@0
|
35 MARK_AS_ADVANCED(
|
max@0
|
36 ACML_LIBRARY
|
max@0
|
37 )
|