[Pkg-opencl-devel] nvidia-cuda-toolkit changes for Ubuntu Trusty

Graham Inggs graham at nerve.org.za
Tue Mar 4 15:10:24 UTC 2014


Hi Debian NVIDIA Maintainers

I am preparing to upload nvidia-cuda-toolkit to Ubuntu, but I need to 
make some minor changes in the packaging to be compatible with the 
latest Nvidia driver packages in Trusty.

My proposed changes are below.  Firstly, nvidia-current is deprecated 
but we can now use the virtual packages we planned last year.  A quick 
sanity check, should package_libcuda1's alternate dependency not be 
bumped to libcuda-5.5-1?

It seems we need another virtual package for package_nvidia-libopencl1's 
alternate dependency.  For an Ubuntu-only upload I would be happy with 
nvidia-libopencl1-331, but I would prefer something more general like 
libcuda-5.0-1, otherwise we end up with a long list of alternate 
dependencies as we had before, e.g. nvidia-libopencl1-331 | 
nvidia-libopencl1-345 | nvidia-libopencl1-356, etc.  Can this be 
something like nvidia-libopencl-1.1-1?

Regards
Graham


diff -Nru nvidia-cuda-toolkit-5.5.22/debian/rules 
nvidia-cuda-toolkit-5.5.22/debian/rules
--- nvidia-cuda-toolkit-5.5.22/debian/rules    2013-11-07 
04:36:16.000000000 +0200
+++ nvidia-cuda-toolkit-5.5.22/debian/rules    2014-03-04 
12:47:59.000000000 +0200
@@ -20,12 +20,11 @@

  package_libcuda1 \
      = libcuda1 (>= $${nvidia:MinVersion}) \
-    | nvidia-current \
      | libcuda-5.0-1

  package_nvidia-libopencl1 \
      = nvidia-libopencl1 (>= $${nvidia:MinVersion}) \
-    | nvidia-current
+    | nvidia-libopencl1-331

  # system libdir
  libdir             = usr/lib$(if $(MULTIARCH),/$(DEB_HOST_MULTIARCH))




More information about the Pkg-opencl-devel mailing list