Dear everyone, I am happy to say that we are now almost ready for switching to eselect-opencl-free handling of OpenCL in Gentoo. Both ocl-icd and opencl-icd-loader have now got (masked) versions in the tree which install directly into /usr, the switching between the two works seamlessly, and I have yet to see any OpenCL-aware package - OpenCL runtimes included - which fails to build in this configuration, regardless of which of the two loaders is used.
As far as I can see, there are only two things left to do: 1. Migrate x11-drivers/nvidia-drivers to the new approach. This is a major one because with >=virtual/opencl-3 no longer depending on any runtimes and the adapted incarnations of both ICD loaders block eselect-opencl in order to avoid file collisions, unmasking the latter right now would effectively kill OpenCL support for Nvidia users. I have just opened a ticket regarding this: https://bugs.gentoo.org/717042 Perhaps fast-tracking stabilisation of the latest version of virtual/opencl might help too? 2. On systems with FEATURES=collision-protect set it will be necessary to manually clean up the libOpenCL.so symlinks created by eselect-opencl, before starting an upgrade - those symlinks are *not* owned by eselect-opencl as far as Portage is concerned so neither the standard weak-blocker resolution nor uninstalling this package prior to the upgrade prevent file collisions. I will prepare a news item (attached to eselect-opencl) explaining this soon. Again, many thanks to everyone who has contributed to making this happen! -- Marecki
signature.asc
Description: OpenPGP digital signature