more virtual packages for providing libcuda.so.1 and libOpenCL.so.1

Andreas Beckmann anbe at debian.org
Thu Jul 11 10:32:23 UTC 2013


On 2013-07-11 11:24, Graham Inggs wrote:
> My apologies Andreas, I see you are already providing libcuda-5.0-1 in
> 304.88-4.
> 
> Should we have libcuda1.shlibs in the Debian package and nvidia-304.shlibs
> in the Ubuntu package as per my attached diffs?
> I think then we wouldn't need to use shlibs.local in nvidia-cuda-toolkit
> and other packages.

For Ubuntu this looks right since you want to remap to the virtual
package that may be provided by several packages. Once 5.5 approaches,
you will
  Provides: libcuda-5.0-1, libcuda-5.5-1
and the shlibs will be bumped to only libcuda-5.5-1.
Everything built against the older version will continue to run,
everything built against the newer version will require the never version.

For Debian there is no need to remap libcuda1 to a virtual package as
there will be only one libcuda1 and that has a proper .symbols file
generating a proper versioned dependency. More strict libcuda1
versioning will probably come from the nvidia-cuda-toolkit libraries
being linked, too.

Packages built against Debian's Nvidia stack won't be installable on
Ubuntu and vice versa, but I think that was never intended. Rebuilding
on the other distribution should hopefully work out-of-the-box without
requiring "if Ubuntu/if Debian" switches.

Andreas



More information about the pkg-nvidia-devel mailing list