http://bugzilla.rpmfusion.org/show_bug.cgi?id=459
--- Comment #16 from Milos Jakubicek <xjakub(a)fi.muni.cz> 2009-08-26 23:55:06 ---
Hi Nicolas,
(In reply to comment #14)
(In reply to comment #11)
> Nicolas, thank you for your considerations very much:
...
>
> Could you submit the SPEC file so that we can move forward with this?
>
Sorry for been that late, the general idea was to move the prefix from /usr to
/usr/lib/nvidia-cuda-%{version}-$(uname -m) so that we can respect the FHS WRT
packaging compiler.
There is a need to take a look how it is done for java (openjdk/sun) for some
example.
I have spent some time considering all these multi*install issues and came to
these conclusions:
We have to distinguish between the cuda compiler and the libraries. While the
compiled should and could go into the location compliant with FHS (will modify
so), the libraries need more adjustment:
I'm currently really not sure whether it is worth making multiple CUDA version
parallel installable -- I've found an official nvidia document stating that
CUDA *is* backward compatible [1], so we could just keep shipping the highest
CUDA version that will run with the nvidia driver present in current rpmfusions
repositories (currently, we could ship cuda 2.2).
The other (much more complicated and imo not worth doing it) choice is:
Ship all or almost all cuda versions from the same package (named
"cuda-[version]"), the highest one compliant with current rpmfusions nvidia
driver could have "Provides: cuda". Using alternatives is not enough, we have
to ensure that the libraries will be found by the linker, so the proper
solution would be to use environmental modules [2].
What is your opinion about this? Do you find it worth shipping more cuda
versions or not? (actually, in case we'd support the multiple versions, I'd
ship all of them then).
[1]
http://developer.download.nvidia.com/compute/cuda/2_3/toolkit/docs/NVIDIA...
[2]
https://fedoraproject.org/wiki/PackagingDrafts/EnvironmentModules
--
Configure bugmail:
http://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.