1 |
Does this look okay to you, guys? The date is preliminary and dependent |
2 |
on how quickly we can get nvidia-drivers migrated to the new approach, |
3 |
hopefully we can get this to happen sooner. |
4 |
|
5 |
* * * |
6 |
|
7 |
Title: Manual steps required during upgrade to an eselect-free OpenCL set-up |
8 |
Author: Marek Szuba <marecki@g.o> |
9 |
Posted: 2020-05-01 |
10 |
Revision: 1 |
11 |
News-Item-Format: 2.0 |
12 |
Display-If-Installed: app-eselect/eselect-opencl |
13 |
|
14 |
We are now in the process of migrating OpenCL in Gentoo to having all |
15 |
implementations operate through an ICD loader (dev-libs/ocl-icd or |
16 |
dev-libs/opencl-icd-loader) installed directly into /usr instead of |
17 |
using eselect-opencl to switch between implementations. eselect-free |
18 |
versions |
19 |
of loader packages have just been released to the public. |
20 |
|
21 |
Unfortunately although the upgrade to those versions will automatically |
22 |
uninstall app-eselect/eselect-opencl, it will not remove the symbolic |
23 |
links to |
24 |
libOpenCL.so created by this tool in library directories because those links |
25 |
are not owned by the package in question. If your system is configured for |
26 |
full collision protection (FEATURES=collision-protect), it will be necessary |
27 |
to manually remove those links |
28 |
|
29 |
rm -i /usr/lib{,64}/libOpenCL.so* |
30 |
|
31 |
before running the upgrade. |
32 |
|
33 |
Systems whose collision protection either allows overwriting orphaned files |
34 |
(FEATURES='-collision-protect protect-owned') or which do not use collision |
35 |
protection at all (not recommended) should be unaffected. |
36 |
|
37 |
|
38 |
|
39 |
-- |
40 |
MS |