[Rpm-ecosystem] Requires based on destination hardware

Neal Gompa ngompa13 at gmail.com
Sat Dec 12 18:22:26 UTC 2015


On Sat, Dec 12, 2015 at 1:19 PM, Igor Gnatenko
<i.gnatenko.brain at gmail.com> wrote:
> It is already implemented, but I'm thinking how to make better dependencies
> on opencl realizations. For example, we have program which uses OpenCL, but
> how we can provide to user one of implementations of OpenCL? First idea
> which comes to my mind to make Provides: opencl to all implementations and
> Requires: opencl in this program, but it is not looks very good..
>

Does the platform you're targeting support the new rich dependencies?
If so, you could use that.

For example:

Requires: (opencl-imp1 or opencl-imp2 or opencl-imp3)



-- 
真実はいつも一つ!/ Always, there's only one truth!


More information about the Rpm-ecosystem mailing list