[clblas] 05/125: fixing cmake files to allow for netlib blas reference

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 5f603a8b7c68b9c8aaee9d5a642760c8c98cb5dc
Author: braga <braga at braga-lnx05.(none)>
Date:   Tue Aug 13 18:42:05 2013 -0500

    fixing cmake files to allow for netlib blas reference
---
 src/CMakeLists.txt | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5c25781..1b84034 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -98,18 +98,7 @@ endif()
 # TODO: maybe this could be written using the FindBLAS module in the future
 if( BUILD_TEST )
 	if(NOT CORR_TEST_WITH_ACML)
-		if( WIN32 )
-			find_package( Netlib COMPONENTS BLAS REQUIRED )
-		else( )
-			if( $ENV{REFBLAS_ROOT} )
-				set( REFBLAS_ROOT $ENV{REFBLAS_ROOT} CACHE PATH "NetLib BLAS root path")
-			else( )
-				message(FATAL_ERROR "Cannot find reference BLAS, please set REFBLAS_ROOT environment variable")
-			endif( )
-			
-			# Find reference BLAS implementation
-			include( ${REFBLAS_ROOT}/package/cmake/exportBLAS.cmake )
-		endif( )
+		find_package( Netlib COMPONENTS BLAS REQUIRED )
 	else( )
 		# Find ACML BLAS implementation
 		# platform dependent ACML subdirectory

-- 
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