diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-04-10 14:15:21 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-04-10 14:15:21 +0100 |
commit | 5896f661feb5a387d4d25c79c98ea1779cf56346 (patch) | |
tree | 3d9667224de7623975f50edaddef0dbc56ca4320 /virtual/opencl/opencl-3.ebuild | |
parent | sys-kernel/genkernel: bump to v4.0.6 (diff) | |
download | gentoo-5896f661feb5a387d4d25c79c98ea1779cf56346.tar.gz gentoo-5896f661feb5a387d4d25c79c98ea1779cf56346.tar.bz2 gentoo-5896f661feb5a387d4d25c79c98ea1779cf56346.zip |
virtual/opencl: add dev-libs/opencl-icd-loader as alternative provider
Works perfectly well, with one caveat - /usr/lib*/libOpenCL.so* symlinks
created by eselect-opencl are not actually owned by that package so
switching from ocl-icd to opencl-icd-loader will result in file
collisions unless said symlinks are manually removed in advance.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'virtual/opencl/opencl-3.ebuild')
-rw-r--r-- | virtual/opencl/opencl-3.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/virtual/opencl/opencl-3.ebuild b/virtual/opencl/opencl-3.ebuild index 6268723a166f..baa33caadb73 100644 --- a/virtual/opencl/opencl-3.ebuild +++ b/virtual/opencl/opencl-3.ebuild @@ -9,9 +9,8 @@ DESCRIPTION="Virtual for OpenCL API" SLOT="0" KEYWORDS="~amd64 ~x86" -# Will add dev-libs/opencl-icd-loader here as an alternative once all potential -# file collisions with eselect-opencl have been resolved -RDEPEND="dev-libs/ocl-icd[khronos-headers,${MULTILIB_USEDEP}]" +RDEPEND="|| ( dev-libs/ocl-icd[khronos-headers,${MULTILIB_USEDEP}] + dev-libs/opencl-icd-loader[${MULTILIB_USEDEP}] )" # so that src_install() doesn't fail on missing directory S="${WORKDIR}" |