[Bug 607407] Re: Sync pyopencl 0.92~beta+git20100709-1 (multiverse) from Debian Unstable (contrib)
Tomasz Rybak
607407 at bugs.launchpad.net
Tue Jul 20 18:36:19 BST 2010
In Ubuntu all files related to NVIDIA drivers are in package nvidia-current.
I was able to build package after applying this patch:
Index: control
===================================================================
--- control
+++ control
@@ -6,7 +6,7 @@
python-support,
python-all-dev,
python-setuptools,
- nvidia-libopencl1-dev | libopencl1-dev,
+ nvidia-libopencl1-dev | libopencl1-dev | nvidia-current-dev,
libboost-python-dev,
mesa-common-dev,
python-numpy,
@@ -22,8 +22,7 @@
Package: python-pyopencl
Architecture: amd64 i386
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
- libnvidia-compiler1,
- nvidia-opencl-common,
+ nvidia-opencl-common | nvidia-current,
python-numpy,
python-matplotlib,
python-pytools (>= 7),
Index: rules
===================================================================
--- rules
+++ rule
@@ -8,7 +8,7 @@
override_dh_auto_configure:
./configure.py --boost-python-libname=boost_python-py \
- --cl-enable-gl
+ --cl-enable-gl --cl-inc-dir=/usr/include/nvidia-current
override_dh_auto_build:
dh_auto_build --buildsystem=python_distutils
The question is - should I try to have the same package in Debian and Ubuntu or
For now X-team (responsible for NVIDIA packges) does not intend to split package to have situation similar to Debian,
so Debian and Ubuntu CUDA/OpenCL packages will need to differ in Deps/Build-Deps.
--
Sync pyopencl 0.92~beta+git20100709-1 (multiverse) from Debian Unstable (contrib)
https://bugs.launchpad.net/bugs/607407
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in Ubuntu: Incomplete
Bug description:
PyOpenCL is Python wrapper around OpenCL libraries.
As it depends on NVIDIA driver-related packages, currently it is in Debian Unstable contrib.
As soon as there are another implementations of OpenCL available in Debian/Ubuntu, this package should be able to use them instead of NVIDIA ones.
Because of differences between NVIDIA-related packages in Debian and Ubuntu there is some work needed to allow for python-pyopencl to build on Ubuntu. I have tested its building and installation on Ubuntu 10.04 LTS.
Thanks.
More information about the Ubuntu-sponsors
mailing list