diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-08-16 12:58:20 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-08-16 13:01:09 +0100 |
commit | 5e8e9b820cb293fb7eb286904db38ac6510ae873 (patch) | |
tree | ecc72f7a1cb26fd6155e8b3afc25dd2e7d53537b /dev-libs/opencl-icd-loader | |
parent | sys-block/whdd: Fix install for Gentoo Prefix (diff) | |
download | gentoo-5e8e9b820cb293fb7eb286904db38ac6510ae873.tar.gz gentoo-5e8e9b820cb293fb7eb286904db38ac6510ae873.tar.bz2 gentoo-5e8e9b820cb293fb7eb286904db38ac6510ae873.zip |
dev-libs/opencl-icd-loader: prefixify ICD_VENDOR_PATH
Needed in order for the loader Gentoo Prefix to be able to find ICDs.
No revision bump because not only does this not change the run-time
behaviour but also is effectively a no-op for non-Prefix users.
Suggested-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29311
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/opencl-icd-loader')
-rw-r--r-- | dev-libs/opencl-icd-loader/opencl-icd-loader-2023.04.17.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-libs/opencl-icd-loader/opencl-icd-loader-2023.04.17.ebuild b/dev-libs/opencl-icd-loader/opencl-icd-loader-2023.04.17.ebuild index 42e9c3636c86..4db8dbf965d6 100644 --- a/dev-libs/opencl-icd-loader/opencl-icd-loader-2023.04.17.ebuild +++ b/dev-libs/opencl-icd-loader/opencl-icd-loader-2023.04.17.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake-multilib multibuild +inherit cmake-multilib multibuild prefix MY_PN="OpenCL-ICD-Loader" MY_P="${MY_PN}-${PV}" @@ -25,6 +25,11 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" +src_prepare() { + hprefixify loader/icd_platform.h + cmake_src_prepare +} + multilib_src_configure() { local mycmakeargs=( -DBUILD_TESTING=$(usex test) |