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

Graham Inggs graham.inggs at gmail.com
Thu Jul 11 10:39:39 UTC 2013


Thanks for clarifying, Andreas.

Alberto, can you add nvidia-304.shlibs to the Ubuntu packaging then, please?
Also, since you no longer allow different versions of Nvidia drivers to be
co-installed, do libcuda.* and libOpenCL.* need to be installed in
/usr/lib/nvidia-304?
If they were installed in /usr/lib/$(DEB_HOST_MULTIARCH) we wouldn't have
to do things like we did in pycuda [1] in order to locate them.

[1]
https://launchpadlibrarian.net/131896714/pycuda_2012.1-1ubuntu2_2012.1-1ubuntu3.diff.gz


On 11 July 2013 12:32, Andreas Beckmann <anbe at debian.org> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20130711/7bceb3f8/attachment.html>


More information about the pkg-nvidia-devel mailing list