diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r3.ebuild | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r3.ebuild')
-rw-r--r-- | dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r3.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r3.ebuild b/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r3.ebuild index 371f3e61ec93..a8a09683874d 100644 --- a/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r3.ebuild +++ b/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -61,6 +61,10 @@ src_prepare() { if use system-tbb; then rm -f "${WORKDIR}/${INTEL_CL}"/lib64/libtbb* fi + # Prepend EPREFIX to library path in intel64.icd + if [[ -n ${EPREFIX} ]]; then + sed -i -e "s@^/opt@${EPREFIX}/opt@" "${WORKDIR}/${INTEL_CL}"/etc/intel64.icd + fi default } @@ -75,6 +79,10 @@ src_install() { insinto /"${INTEL_CL}"/bin doins "${WORKDIR}"/"${INTEL_CL}"/bin/* + # fix symlinks for oclopt and clangSpir12 on prefix + dosym "../lib64/oclopt" "opt/intel/opencl-1.2-${PV}/bin/oclopt" + dosym "../lib64/clangSpir12" "opt/intel/opencl-1.2-${PV}/bin/clangSpir12" + # TODO put this somewhere # doins ${INTEL_CL}/eclipse-plug-in/OpenCL_SDK_0.1.0.jar |