[Rpm-ecosystem] Requires based on destination hardware

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sat Dec 12 23:29:44 UTC 2015


On Sat, Dec 12, 2015 at 06:24:27PM +0000, Igor Gnatenko wrote:
> Platform I'm targeting support is F23+ so yes, but my solution looks
> better. Otherwise once I will add one more implementation I should update
> all packages..
> 
> On Sat, Dec 12, 2015 at 7:23 PM Neal Gompa <ngompa13 at gmail.com> wrote:
> 
> > 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)

Suggests: opencl-imp1
Suggests: opencl-imp2

might be helpful for the user.

Zbyszek


More information about the Rpm-ecosystem mailing list