[Pkg-opencl-devel] Alternatives system for libOpenCL?

Andreas Beckmann anbe at debian.org
Fri Jul 22 23:43:25 UTC 2016


On 2016-07-22 23:35, Giuseppe Bilotta wrote:
> I would like to suggest enabling an alternatives-based system for
> libOpenCL.so. Although allowing multiple libOpenCL so to coexist isn't

Alternatives for a multiarch library. Good luck. Have fun.

Do you want to have a separate alternative per architecture? (Easy.)
Do you want to keep the alternatives on (foreign) multiarch
architectures in sync?
(What if an implementation is only available on a subset of architectures?)

If that Intel package does not use diversions to cooperate with existing
packages, it is utterly broken!
(And getting the diversions done right can be funny. Especially cleaning
up after it was done wrong.)


Andreas

PS: I had enough fun with this, leading to the creation of
glx-alternatives :-)



More information about the Pkg-opencl-devel mailing list