[SCM] ViennaCL packaging branch, master, updated. debian/1.1.1-1-11-g9aa8748
Michael Wild
themiwi at users.sourceforge.net
Mon Jul 4 20:11:08 UTC 2011
The following commit has been merged in the master branch:
commit 158be2e4d7ef92b411fcd21e553ce559d1431ad2
Author: Michael Wild <themiwi at users.sourceforge.net>
Date: Tue Apr 12 08:18:38 2011 +0200
Run tests when building package
Signed-off-by: Michael Wild <themiwi at users.sourceforge.net>
diff --git a/debian/control b/debian/control
index 685efa2..8d188b9 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: contrib/science
Priority: extra
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Michael Wild <themiwi at users.sourceforge.net>
-Build-Depends: debhelper (>= 7.0.50~), poppler-utils, asciidoc, lynx
+Build-Depends: debhelper (>= 7.0.50~), poppler-utils, asciidoc, lynx,
+ cmake (>= 2.6), libboost-dev, opencl-headers, libopencl1
Standards-Version: 3.9.1
DM-Upload-Allowed: yes
Homepage: http://viennacl.sourceforge.net
@@ -14,7 +15,7 @@ Package: libviennacl-dev
Architecture: all
Section: contrib/libdevel
Depends: ${misc:Depends}, opencl-headers, libopencl1
-Suggests: libviennacl-doc
+Suggests: libeigen2-dev, libboost-dev, libviennacl-doc
Description: Scientific computing library written in C++ based on OpenCL
The Vienna Computing Library (ViennaCL) is a scientific computing library
written in C++ and based on OpenCL. It allows simple, high-level access to the
diff --git a/debian/rules b/debian/rules
index eb1697a..0d9c758 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,19 @@
#export DH_VERBOSE=1
%:
- dh $@
+ dh --sourcedirectory=tests --builddirectory=tests/build $@
-override_dh_auto_configure override_dh_auto_test:
+override_dh_auto_configure:
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ dh_auto_configure
+ dh_auto_build
+ dh_auto_build -- ARGS="-VV" test || \
+ echo "== ONE OR MORE TESTS FAILED! =="
+else
+ @echo "== SKIPPING TESTS (nocheck in DEB_BUILD_OPTIONS) =="
+endif
override_dh_install:
dh_install
--
ViennaCL packaging
More information about the debian-science-commits
mailing list