[clblas] 08/125: Changing ACMLROOT to the more standard cmake name ACML_ROOT
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri May 29 06:57:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository clblas.
commit a7af65d0ba655a6aebb2a1214f22f5a957a739c7
Author: Kent Knox <kent.knox at amd>
Date: Sun Aug 18 19:27:49 2013 -0500
Changing ACMLROOT to the more standard cmake name ACML_ROOT
---
src/CMakeLists.txt | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1b84034..995fa0c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -58,7 +58,7 @@ if( CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT )
set( CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/package" CACHE PATH "Install path prefix, prepended onto install directories" FORCE )
endif( )
-set( ACMLROOT $ENV{ACMLROOT} CACHE PATH "AMD ACML root path")
+set( ACML_ROOT $ENV{ACML_ROOT} CACHE PATH "AMD ACML root path")
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Debug CACHE STRING
@@ -110,9 +110,9 @@ if( BUILD_TEST )
find_path(ACML_INCLUDE_DIRS acml.h
HINTS
- $ENV{ACMLROOT}/include
- ${ACMLROOT}/include
- ${ACMLROOT}/${ACML_SUBDIR}/include
+ $ENV{ACML_ROOT}/include
+ ${ACML_ROOT}/include
+ ${ACML_ROOT}/${ACML_SUBDIR}/include
)
if( ACML_INCLUDE_DIRS )
@@ -123,15 +123,15 @@ if( BUILD_TEST )
if( UNIX )
find_library(ACML_LIBRARIES acml acml_mp
HINTS
- $ENV{ACMLROOT}/lib
- ${ACMLROOT}/lib
- ${ACMLROOT}/${ACML_SUBDIR}/lib
+ $ENV{ACML_ROOT}/lib
+ ${ACML_ROOT}/lib
+ ${ACML_ROOT}/${ACML_SUBDIR}/lib
)
find_library(_acml_mv_library acml_mv
HINTS
- $ENV{ACMLROOT}/lib
- ${ACMLROOT}/lib
- ${ACMLROOT}/${ACML_SUBDIR}/lib
+ $ENV{ACML_ROOT}/lib
+ ${ACML_ROOT}/lib
+ ${ACML_ROOT}/${ACML_SUBDIR}/lib
)
mark_as_advanced(_acml_mv_library)
endif( )
@@ -139,9 +139,9 @@ if( BUILD_TEST )
if(WIN32)
find_library(ACML_LIBRARIES libacml_dll libacml_mp_dll
HINTS
- $ENV{ACMLROOT}/lib
- ${ACMLROOT}/lib
- ${ACMLROOT}/${ACML_SUBDIR}/lib
+ $ENV{ACML_ROOT}/lib
+ ${ACML_ROOT}/lib
+ ${ACML_ROOT}/${ACML_SUBDIR}/lib
)
endif( )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git
More information about the debian-science-commits
mailing list