Bug#760232: [viennacl] Build dependency on virtual libopencl1 with no default
Graham Inggs
graham at nerve.org.za
Mon Sep 1 23:02:23 UTC 2014
Source: viennacl
Version: 1.5.2-1
Hi Maintainer
The viennacl source package has build-dependencies on 'opencl-headers,
libopencl1'. Binary package libviennacl-dev has dependencies on the
same.
Libopencl1 is a virtual package and so should be preceded by a real package.
However, package ocl-icd-opencl-dev already depends on opencl-headers
and libopencl1, so it can replace both. In addition, allowing the
opencl-dev alternate dependency will allow the package to be built
locally with any alternate OpenCL implementation.
The attached patch replaces the dependencies on 'opencl-headers,
libopencl1' with 'ocl-icd-opencl-dev | opencl-dev'.
Regards
Graham
-------------- next part --------------
diff -Nru viennacl-1.5.2/debian/control viennacl-1.5.2/debian/control
--- viennacl-1.5.2/debian/control 2014-05-16 21:09:26.000000000 +0200
+++ viennacl-1.5.2/debian/control 2014-09-01 23:26:41.000000000 +0200
@@ -7,7 +7,7 @@
libboost-chrono-dev, libboost-date-time-dev, libboost-serialization-dev,
libboost-thread-dev, texlive-latex-extra, texlive-latex-recommended,
texlive-fonts-recommended, texlive-pstricks, ghostscript, doxygen,
- opencl-headers, libopencl1
+ ocl-icd-opencl-dev | opencl-dev
Standards-Version: 3.9.5
Homepage: http://viennacl.sourceforge.net
Vcs-Git: git://git.debian.org/debian-science/packages/viennacl.git
@@ -16,7 +16,7 @@
Package: libviennacl-dev
Architecture: all
Section: libdevel
-Depends: ${misc:Depends}, opencl-headers, libopencl1
+Depends: ${misc:Depends}, ocl-icd-opencl-dev | opencl-dev
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
More information about the debian-science-maintainers
mailing list