[arrayfire] 02/05: d/p: add patch fixing detection of BLAS in upstream find module

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Oct 1 14:55:43 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.

commit 8828f857c0b3f4423857f1f5047e7cb51ce1f5f2
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Sep 30 12:44:56 2015 +0100

    d/p: add patch fixing detection of BLAS in upstream find module
---
 debian/patches/fix-cblas-detection.patch | 20 ++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/fix-cblas-detection.patch b/debian/patches/fix-cblas-detection.patch
new file mode 100644
index 0000000..d21d83e
--- /dev/null
+++ b/debian/patches/fix-cblas-detection.patch
@@ -0,0 +1,20 @@
+Description: fix CBLAS detection for Debian
+ ArrayFire looks for a cblas.pc file to detect the BLAS headers and library,
+ whereas Debian ships a blas.pc in libblas-dev. This patch does a s/cblas/blas
+ on the pkg-config part of the relevant find module.
+Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Bug: https://github.com/arrayfire/arrayfire/pull/1037 
+Last-Update: 2015-10-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/CMakeModules/FindCBLAS.cmake
++++ b/CMakeModules/FindCBLAS.cmake
+@@ -26,7 +26,7 @@
+ # all further checks.
+ FIND_PACKAGE(PkgConfig)
+ IF(PKG_CONFIG_FOUND)
+-  PKG_CHECK_MODULES(PC_CBLAS cblas)
++  PKG_CHECK_MODULES(PC_CBLAS blas)
+ ENDIF(PKG_CONFIG_FOUND)
+ 
+ IF(PC_CBLAS_FOUND)
diff --git a/debian/patches/series b/debian/patches/series
index 933baad..eb87a7e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix-doxygen-settings.patch
 disable-privacy-breach-doc.patch
 bugfix-in-assign.patch
+fix-cblas-detection.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list