Mercurial > hg > segmenter-vamp-plugin
annotate armadillo-3.900.4/build_aux/cmake/Modules/ARMA_FindOpenBLAS.cmake @ 84:55a047986812 tip
Update library URI so as not to be document-local
author | Chris Cannam |
---|---|
date | Wed, 22 Apr 2020 14:21:57 +0100 |
parents | 1ec0e2823891 |
children |
rev | line source |
---|---|
Chris@49 | 1 # - Find the OpenBLAS library (no includes) |
Chris@49 | 2 # This module defines |
Chris@49 | 3 # OpenBLAS_LIBRARIES, the libraries needed to use OpenBLAS. |
Chris@49 | 4 # OpenBLAS_FOUND, If false, do not try to use OpenBLAS. |
Chris@49 | 5 # also defined, but not for general use are |
Chris@49 | 6 # OpenBLAS_LIBRARY, where to find the OpenBLAS library. |
Chris@49 | 7 |
Chris@49 | 8 SET(OpenBLAS_NAMES ${OpenBLAS_NAMES} openblas) |
Chris@49 | 9 FIND_LIBRARY(OpenBLAS_LIBRARY |
Chris@49 | 10 NAMES ${OpenBLAS_NAMES} |
Chris@49 | 11 PATHS /lib64 /lib /usr/lib64 /usr/lib /usr/local/lib64 /usr/local/lib |
Chris@49 | 12 ) |
Chris@49 | 13 |
Chris@49 | 14 IF (OpenBLAS_LIBRARY) |
Chris@49 | 15 SET(OpenBLAS_LIBRARIES ${OpenBLAS_LIBRARY}) |
Chris@49 | 16 SET(OpenBLAS_FOUND "YES") |
Chris@49 | 17 ELSE (OpenBLAS_LIBRARY) |
Chris@49 | 18 SET(OpenBLAS_FOUND "NO") |
Chris@49 | 19 ENDIF (OpenBLAS_LIBRARY) |
Chris@49 | 20 |
Chris@49 | 21 |
Chris@49 | 22 IF (OpenBLAS_FOUND) |
Chris@49 | 23 IF (NOT OpenBLAS_FIND_QUIETLY) |
Chris@49 | 24 MESSAGE(STATUS "Found the OpenBLAS library: ${OpenBLAS_LIBRARIES}") |
Chris@49 | 25 ENDIF (NOT OpenBLAS_FIND_QUIETLY) |
Chris@49 | 26 ELSE (OpenBLAS_FOUND) |
Chris@49 | 27 IF (OpenBLAS_FIND_REQUIRED) |
Chris@49 | 28 MESSAGE(FATAL_ERROR "Could not find the OpenBLAS library") |
Chris@49 | 29 ENDIF (OpenBLAS_FIND_REQUIRED) |
Chris@49 | 30 ENDIF (OpenBLAS_FOUND) |
Chris@49 | 31 |
Chris@49 | 32 # Deprecated declarations. |
Chris@49 | 33 GET_FILENAME_COMPONENT (NATIVE_OpenBLAS_LIB_PATH ${OpenBLAS_LIBRARY} PATH) |
Chris@49 | 34 |
Chris@49 | 35 MARK_AS_ADVANCED( |
Chris@49 | 36 OpenBLAS_LIBRARY |
Chris@49 | 37 ) |