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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to