virtual provides/metapackage for various OpenCL implementations
Dominik 'Rathann' Mierzejewski
dominik at greysector.net
Thu Sep 24 10:21:04 UTC 2015
Dear maintainers,
I've just enabled OpenCL support in the gromacs package[1] and would
like to express a weak dependency on an OpenCL implementation, but I
have no way of doing so at the moment.
We have three packages which provide OpenCL implementations:
beignet - Intel GPUs
mesa-libOpenCL - AMD GPUs (only?)
pocl - CPU-based
Would it make sense to add a virtual provide to each of the packages
to mean the all provide a "vendor" OpenCL implementation? For example,
Provides: opencl-driver
Then, any package that makes use of OpenCL could add
Requires/Recommends/Suggests: opencl-driver
Another approach could be to create a meta package (named
opencl-drivers, for example - similar to xorg-x11-drivers) which would
depend on all vendor-specific implementations.
I guess the second approach is more fool-proof. Comments?
Regards,
Dominik
[1] http://pkgs.fedoraproject.org/cgit/gromacs.git/commit/?id=dbabc099d66902daa094478024a8a331822b78bc
--
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
-- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
More information about the devel
mailing list