[clfft] 08/50: enable multiarch

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri May 29 08:19:21 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 clfft.

commit 5685154e5f001d51de7690501f91c0f6aaf6cc3a
Author: Jerome Kieffer <jerome.kieffer at terre-adelie.org>
Date:   Thu Apr 9 20:51:24 2015 +0200

    enable multiarch
---
 debian/clfft2.install                              |  1 -
 debian/control                                     | 28 ++++++++++++++++++----
 debian/{clfft-dev.install => libclfft-dev.install} |  0
 debian/libclfft2-bin.install                       |  1 +
 debian/libclfft2.install                           |  2 ++
 debian/rules                                       |  4 ++--
 6 files changed, 28 insertions(+), 8 deletions(-)

diff --git a/debian/clfft2.install b/debian/clfft2.install
deleted file mode 100644
index 86572f3..0000000
--- a/debian/clfft2.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/lib*.so* 
diff --git a/debian/control b/debian/control
index 78629eb..5fdeef1 100644
--- a/debian/control
+++ b/debian/control
@@ -1,16 +1,16 @@
 Source: clfft
 Priority: extra
 Maintainer: Jerome Kieffer <jerome.kieffer at esrf.fr>
-Build-Depends: debhelper (>= 9), cmake, opencl-icd, ocl-icd-dev
+Build-Depends: debhelper (>= 9), cmake, opencl-icd, ocl-icd-dev, dh-exec
 Standards-Version: 3.9.4
 Section: libs
 Homepage: https://github.com/clMathLibraries/clFFT
-Multi-Arch: same
 
-Package: clfft-dev
+Package: libclfft-dev
 Section: libdevel
 Architecture: any
-Depends: clfft2 (= ${binary:Version}), ocl-icd-dev
+Multi-Arch: same
+Depends: libclfft2 (= ${binary:Version}), ocl-icd-dev
 Pre-Depends: ${misc:Pre-Depends}
 Description: clFFT is an open source OpenCL library implementation of FFT
  The FFT is an implementation of the Discrete Fourier Transform (DFT) that
@@ -23,8 +23,9 @@ Description: clFFT is an open source OpenCL library implementation of FFT
  routines that are optimized for AMD graphics processors, but also are
  functional across CPU and other compute devices.
 
-Package: clfft2
+Package: libclfft2
 Section: libs
+Multi-Arch: same
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, opencl-icd
 Pre-Depends: ${misc:Pre-Depends}
@@ -38,3 +39,20 @@ Description: clFFT is an open source OpenCL library implementation of FFT
  the same interfaces for their FFT routines. clFFT provides a set of FFT
  routines that are optimized for AMD graphics processors, but also are
  functional across CPU and other compute devices.
+
+Package: libclfft2-bin
+Section: libs
+Multi-Arch: same
+Architecture: any
+Depends: libclfft2 (= ${binary:Version})
+Pre-Depends: ${misc:Pre-Depends}
+Description: clFFT is an open source OpenCL library implementation of FFT
+ The FFT is an implementation of the Discrete Fourier Transform (DFT) that
+ makes use of symmetries in the FFT definition to reduce the mathematical
+ intensity required from O(N2) to O(N log2( N )) when the sequence length
+ N is the product of small prime factors. Currently, there is no standard
+ API for FFT routines. Hardware vendors usually provide a set of
+ high-performance FFTs optimized for their systems: no two vendors employ
+ the same interfaces for their FFT routines. clFFT provides a set of FFT
+ routines that are optimized for AMD graphics processors, but also are
+ functional across CPU and other compute devices.
diff --git a/debian/clfft-dev.install b/debian/libclfft-dev.install
similarity index 100%
rename from debian/clfft-dev.install
rename to debian/libclfft-dev.install
diff --git a/debian/libclfft2-bin.install b/debian/libclfft2-bin.install
new file mode 100644
index 0000000..1df36c6
--- /dev/null
+++ b/debian/libclfft2-bin.install
@@ -0,0 +1 @@
+usr/bin/*
diff --git a/debian/libclfft2.install b/debian/libclfft2.install
new file mode 100755
index 0000000..3f98900
--- /dev/null
+++ b/debian/libclfft2.install
@@ -0,0 +1,2 @@
+#!/usr/bin/dh-exec
+usr/lib/lib*.so* usr/lib/${DEB_HOST_MULTIARCH}/
diff --git a/debian/rules b/debian/rules
index 46718ac..b9ff04d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,6 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 
 %:
-	dh $@ --buildsystem cmake --parallel --sourcedirectory=src 
-#--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) 
+	dh $@ --buildsystem cmake --parallel --sourcedirectory=src
+
 

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



More information about the debian-science-commits mailing list