[clblas] 27/54: if BUILD_TEST is not set fortran compiler should not be required.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jan 14 20:07:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository clblas.
commit 0d2fb3a4ad30716005e2bbbe7f79016d5a71738d
Author: Timmy <timmy.liu at amd.com>
Date: Mon Dec 7 09:27:05 2015 -0800
if BUILD_TEST is not set fortran compiler should not be required.
---
src/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f2034a7..9ec932b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -95,8 +95,8 @@ if( CMAKE_GENERATOR MATCHES "NMake" )
endif( )
endif( )
-# If we are on linux, and we wish to link with the netlib BLAS implementation, we need to have a valid fortran compiler
-if( NOT CORR_TEST_WITH_ACML AND NOT WIN32 AND NOT APPLE )
+# If we are on linux, and we wish to link with the netlib BLAS implementation when BUILD_TEST is ON, we need to have a valid fortran compiler
+if(BUILD_TEST AND NOT CORR_TEST_WITH_ACML AND NOT WIN32 AND NOT APPLE)
project(clBLAS Fortran C CXX )
else( )
project(clBLAS C CXX)
--
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