[Pkg-opencl-devel] adding more virtual packages libopencl-1.X-1 ?
Vincent Danjean
vdanjean.ml at free.fr
Wed Jul 24 09:24:53 UTC 2013
Le 24/07/2013 08:46, Vincent Danjean a écrit :
>> * each vendor-libopencl1 package adds
>> Provides: libopencl-1.1-1, libopencl-1.2-1, ...
>> for *all* supported versions of the standard
>> (the name here is libopencl-${standardversion}-${soversion})
>> (i.e. nvidia only 1.1, amd and ocl-icd both 1.1 and 1.2)
>> (we probably don't need 1.0, do we?)
>>
>> a) every package needing something newer than the baseline (which
>> currently is 1.1) manually adds Depends: libopencl-X.Y-1
>> that would make apt choose a sufficient alternative
>>
>> and/or
>> b) the shlibs files add a dependency on libopencl-X.Y-1 (where X.Y is
>> the newest standard supported by this vendor implementation) instead of
>> libopencl1.
>
> The b approach would be more transparent for users. [and the a option
> can be used for applications that require a specific OpenCL version
> that is not reflected by their use of symbols].
>
> I will try to implement it quickly in ocl-icd.
ocl-icd on my personnal repo has a symbol file with these new virtual
packages: http://people.debian.org/~vdanjean/debian/pool/main/o/ocl-icd/
We should try to rebuild OpenCL applications (pyopencl, ...) to see if
new dependencies are correctly automatically pulled. I do not have time
to check this now (will do in a few hours if nobody does it before).
If it works, we should:
- decide the proper name of virtual packages. When updating ocl-icd,
I was thinking that libopencl-1.1-1 also has a meaning: it is an "ABI"
for the libopencl1 library. So, perhaps: libopencl1-abi-1.1 and
libopencl1-abi-1.2
- fix all packages (the one providing libopencl1)
- ask for a rebuild of reverse dependencies
Regards,
Vincent
--
Vincent Danjean GPG key ID 0x9D025E87 vdanjean at debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://people.debian.org/~vdanjean/debian unstable main
More information about the Pkg-opencl-devel
mailing list