[arrayfire] 02/06: Install OpenCL backend to new libarrayfire-opencl packages.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Dec 15 15:19:41 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 7bdb6f915e1c7f1448eec7d7dbe73bc2b5f0a86c
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Sun Dec 6 23:42:08 2015 +0000
Install OpenCL backend to new libarrayfire-opencl packages.
---
debian/control | 67 +++++++++++++++++++++++++++
debian/libarrayfire-opencl-dev.install | 2 +
debian/libarrayfire-opencl3.install | 1 +
debian/libarrayfire-opencl3.lintian-overrides | 1 +
debian/rules | 7 ++-
debian/tests/control | 3 +-
6 files changed, 79 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 489d1fb..73a6cb2 100644
--- a/debian/control
+++ b/debian/control
@@ -7,11 +7,15 @@ Build-Depends: cmake,
debhelper (>= 9),
libboost-dev,
libblas-dev | libblas.so,
+ libclblas-dev,
+ libclfft-dev,
+ libcompute-dev,
libfftw3-dev,
libfreeimage-dev,
libgtest-dev,
liblapack-dev | liblapack.so,
liblapacke-dev,
+ ocl-icd-opencl-dev | opencl-dev,
pkg-config
Build-Depends-Indep: doxygen
Standards-Version: 3.9.6
@@ -121,3 +125,66 @@ Description: Common documentation and examples for ArrayFire
.
This package provides the documentation and example source code for the
ArrayFire library.
+
+Package: libarrayfire-opencl-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: libarrayfire-dev,
+ libarrayfire-opencl3 (= ${binary:Version}),
+ ocl-icd-opencl-dev | opencl-dev,
+ ${misc:Depends}
+Description: Development files for ArrayFire (OpenCL backend)
+ ArrayFire is a high performance software library for parallel computing
+ with an easy-to-use API. Its array based function set makes parallel
+ programming simple.
+ .
+ ArrayFire's multiple backends (CUDA, OpenCL and native CPU) make it
+ platform independent and highly portable.
+ .
+ A few lines of code in ArrayFire can replace dozens of lines of parallel
+ computing code, saving you valuable time and lowering development costs.
+ .
+ This package provides the development files for the OpenCL backend of the
+ ArrayFire library.
+
+Package: libarrayfire-opencl3
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Description: High performance library for parallel computing (OpenCL backend)
+ ArrayFire is a high performance software library for parallel computing
+ with an easy-to-use API. Its array based function set makes parallel
+ programming simple.
+ .
+ ArrayFire's multiple backends (CUDA, OpenCL and native CPU) make it
+ platform independent and highly portable.
+ .
+ A few lines of code in ArrayFire can replace dozens of lines of parallel
+ computing code, saving you valuable time and lowering development costs.
+ .
+ This package provides the OpenCL backend of the ArrayFire library.
+
+Package: libarrayfire-opencl3-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Multi-Arch: same
+Depends: libarrayfire-opencl3 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Debugging symbols for ArrayFire (OpenCL backend)
+ ArrayFire is a high performance software library for parallel computing
+ with an easy-to-use API. Its array based function set makes parallel
+ programming simple.
+ .
+ ArrayFire's multiple backends (CUDA, OpenCL and native CPU) make it
+ platform independent and highly portable.
+ .
+ A few lines of code in ArrayFire can replace dozens of lines of parallel
+ computing code, saving you valuable time and lowering development costs.
+ .
+ This package provides the debugging symbols for the OpenCL backend of the
+ ArrayFire library.
diff --git a/debian/libarrayfire-opencl-dev.install b/debian/libarrayfire-opencl-dev.install
new file mode 100644
index 0000000..7119793
--- /dev/null
+++ b/debian/libarrayfire-opencl-dev.install
@@ -0,0 +1,2 @@
+usr/lib/*/libafopencl.so
+usr/lib/*/cmake/*/*OpenCL*.cmake
diff --git a/debian/libarrayfire-opencl3.install b/debian/libarrayfire-opencl3.install
new file mode 100644
index 0000000..93e34f8
--- /dev/null
+++ b/debian/libarrayfire-opencl3.install
@@ -0,0 +1 @@
+usr/lib/*/libafopencl.so.*
diff --git a/debian/libarrayfire-opencl3.lintian-overrides b/debian/libarrayfire-opencl3.lintian-overrides
new file mode 100644
index 0000000..687df5a
--- /dev/null
+++ b/debian/libarrayfire-opencl3.lintian-overrides
@@ -0,0 +1 @@
+libarrayfire-opencl3: package-name-doesnt-match-sonames libafopencl3
diff --git a/debian/rules b/debian/rules
index 3698fb9..bddabc0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,8 +25,11 @@ CMAKE_BUILD_OPTIONS = \
-DBUILD_CUDA=OFF \
-DBUILD_GRAPHICS=OFF \
-DBUILD_NONFREE=OFF \
- -DBUILD_OPENCL=OFF \
+ -DBUILD_OPENCL=ON \
-DBUILD_UNIFIED=OFF \
+ -DUSE_SYSTEM_BOOST_COMPUTE=ON \
+ -DUSE_SYSTEM_CLBLAS=ON \
+ -DUSE_SYSTEM_CLFFT=ON \
-DWITH_COVERAGE=OFF
# Disable build of testsuite if no check requested.
@@ -74,3 +77,5 @@ override_dh_compress:
override_dh_strip-arch:
dh_strip --package=libarrayfire-cpu3 \
--dbg-package=libarrayfire-cpu3-dbg
+ dh_strip --package=libarrayfire-opencl3 \
+ --dbg-package=libarrayfire-opencl3-dbg
diff --git a/debian/tests/control b/debian/tests/control
index 66018f6..d634c84 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,7 +2,8 @@ Tests: build-examples
Depends: build-essential,
cmake,
libarrayfire-cpu-dev,
- libarrayfire-doc
+ libarrayfire-doc,
+ libarrayfire-opencl-dev
Restrictions: allow-stderr
Tests: build-testsuite
--
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