[clblas] 71/75: Add patch fixing builds without tests

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jan 24 23:30:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository clblas.

commit 6b09dcbe0cb7ce63f7dd488dc9c7a1451984bba8
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sat Jan 21 16:49:52 2017 +0000

    Add patch fixing builds without tests
    
    - New patch Detect-CBLAS-when-building-the-client.patch
    
    Gbp-Dch: full
---
 .../Detect-CBLAS-when-building-the-client.patch    | 24 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 25 insertions(+)

diff --git a/debian/patches/Detect-CBLAS-when-building-the-client.patch b/debian/patches/Detect-CBLAS-when-building-the-client.patch
new file mode 100644
index 0000000..bfe94df
--- /dev/null
+++ b/debian/patches/Detect-CBLAS-when-building-the-client.patch
@@ -0,0 +1,24 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Sat, 21 Jan 2017 16:49:27 +0000
+Subject: Detect CBLAS when building the client
+
+---
+ src/CMakeLists.txt | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index bf351c1..28d6a60 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -267,10 +267,7 @@ if( BUILD_TEST )
+ endif( )
+ 
+ if( BUILD_CLIENT )
+-    if( NETLIB_FOUND )
+-    else( )
+-        message( WARNING "Not find Netlib; BUILD_CLIENT needs the Netlib CBLAS library" )
+-    endif()
++    find_package( Netlib COMPONENTS BLAS REQUIRED )
+ endif()
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 5524457..3b9f819 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ fix-doxygen-output-dir.patch
 use-system-mathjax.patch
 reproducible-build.patch
 use-boost-dynamic-libs.patch
+Detect-CBLAS-when-building-the-client.patch

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