summaryrefslogtreecommitdiff
path: root/dev-util/intel-ocl-sdk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
commit8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch)
tree230f3135ceaace633cf93e9838b185c4a6664c2e /dev-util/intel-ocl-sdk
parent9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff)
gentoo resync : 23.09.2020
Diffstat (limited to 'dev-util/intel-ocl-sdk')
-rw-r--r--dev-util/intel-ocl-sdk/Manifest4
-rw-r--r--dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r3.ebuild (renamed from dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r2.ebuild)30
-rw-r--r--dev-util/intel-ocl-sdk/metadata.xml1
3 files changed, 21 insertions, 14 deletions
diff --git a/dev-util/intel-ocl-sdk/Manifest b/dev-util/intel-ocl-sdk/Manifest
index b0c15225addc..c935119a8514 100644
--- a/dev-util/intel-ocl-sdk/Manifest
+++ b/dev-util/intel-ocl-sdk/Manifest
@@ -1,3 +1,3 @@
DIST intel_sdk_for_ocl_applications_2014_ubuntu_4.4.0.117_x64.tgz 105808431 BLAKE2B 58b9bdf1979c070757beff7abaa2b16d43993e7dd4aeda05843facd556f25f3c695a6b2de4745890ce6b7b1a5cee1113b62ffae4059aad49a462d28d6d3461c3 SHA512 c0f65bf4d9b894f11076995744d32aef983e01b40472028e411c7be6b9117ef8b260b9abe46d6e936333aca525f98f81aaca2ab3e093ccefb09f525a3646d7e9
-EBUILD intel-ocl-sdk-4.4.0.117-r2.ebuild 2131 BLAKE2B 1d4c5b22e3cad945b429433b11ebad627ddf9e893f2d75ffa07b985b3fe757511e77e2c2aa5ba26f2f4738a9c97886d847d2e1e31a73abf6bad63aab5266bda7 SHA512 8d1bc5ca60546f2936225c4e746780eed603c1f663f0e13d926d9e76821c125cb7cabd794bf0f87705571026e2340ccf259ceb10a002c6eb7a209c242c0628bb
-MISC metadata.xml 611 BLAKE2B ca21cce054fd665fcaf1f98df3e2562dc900b8afffd803af818e5d36541f330a4cba8b4bd1a3023a7c31c85ce9fdb3d063259d0e9979508aaf2a55a0d95d4eca SHA512 b1b403d2c7ab37dbe26dfb25ede8c7f9df69a641759b8db6b76fee9d9f28203a6b552f4a99df02a5aa74f0eaf25def03f65960fc9f8b24c5202f3f10d1c46a90
+EBUILD intel-ocl-sdk-4.4.0.117-r3.ebuild 2205 BLAKE2B 6ef11c628d12c43a113b0dca19663f0a547a9ea8df17d6b5a1df32965e79b9b5946376d6e2f98f805c8d3cf6517eddf7e50143d45677f83442d4b7296fd920f5 SHA512 c9c4306492900b33ab8f346e67382a8e1a7117c3824e8f7be492d57f1e21b396dc3057ac0b3f9474fb816ed70c527d7c8cb262cfa7ff4294205e6a31d9a7b536
+MISC metadata.xml 518 BLAKE2B ef50d331271bba1eb551a84a021cf1512c05740e6f0db90d328cc6dd38f26ac3e08fcfd532147308b75fe52c5bba3971ae87754049171c596851bd3de53fe596 SHA512 d58fb4e44bbb80531cfd138b47b839bef8e90c9401f6fd6459bc39ba03aa0ed517b354aefbd5ebb1b425a53752438f8067502af8397ca9b552d03fc9f659bd3f
diff --git a/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r2.ebuild b/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r3.ebuild
index 9eaedd6076e3..371f3e61ec93 100644
--- a/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r2.ebuild
+++ b/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r3.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit rpm multilib
+inherit rpm
DESCRIPTION="Intel's implementation of the OpenCL standard"
HOMEPAGE="https://software.intel.com/en-us/articles/opencl-sdk/"
@@ -11,21 +11,30 @@ SRC_URI="https://registrationcenter.intel.com/irc_nas/4181/intel_sdk_for_ocl_app
LICENSE="Intel-SDP"
SLOT="0"
-IUSE="android +system-tbb system-clang +system-boost"
+IUSE="android +system-tbb +system-boost"
KEYWORDS="-* amd64"
RESTRICT="bindist mirror"
RDEPEND=">=virtual/opencl-3
sys-process/numactl
system-tbb? ( >=dev-cpp/tbb-4.2.20131118 )
- system-clang? ( =sys-devel/clang-3.4* )
system-boost? ( >=dev-libs/boost-1.52.0:= )
"
DEPEND=""
+PDEPEND="
+ dev-libs/glib
+ media-libs/fontconfig
+ media-libs/freetype
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ sys-libs/zlib
+"
S=${WORKDIR}/intel_sdk_for_ocl_applications_2014_ubuntu_${PV}_x64/
INTEL_CL=opt/intel/opencl-1.2-${PV}
-INTEL_VENDOR_DIR=usr/$(get_libdir)/OpenCL/vendors/intel/
QA_PREBUILT="${INTEL_OCL}/*"
@@ -49,12 +58,10 @@ src_prepare() {
if use system-boost; then
rm -f "${WORKDIR}/${INTEL_CL}"/lib64/libboost*.so*
fi
- if use system-clang; then
- rm -f "${WORKDIR}/${INTEL_CL}"/lib64/libclang*
- fi
if use system-tbb; then
rm -f "${WORKDIR}/${INTEL_CL}"/lib64/libtbb*
fi
+ default
}
src_install() {
@@ -71,8 +78,9 @@ src_install() {
# TODO put this somewhere
# doins ${INTEL_CL}/eclipse-plug-in/OpenCL_SDK_0.1.0.jar
+ INTEL_VENDOR_DIR=usr/lib/OpenCL/vendors/intel/
dodir "${INTEL_VENDOR_DIR}"
- dosym "/opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so" "${INTEL_VENDOR_DIR}/libOpenCL.so"
- dosym "/opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so.1" "${INTEL_VENDOR_DIR}/libOpenCL.so.1"
- dosym "/opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so.1.2" "${INTEL_VENDOR_DIR}/libOpenCL.so.1.2"
+ dosym "../../../../../opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so" "${INTEL_VENDOR_DIR}/libOpenCL.so"
+ dosym "../../../../../opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so.1" "${INTEL_VENDOR_DIR}/libOpenCL.so.1"
+ dosym "../../../../../opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so.1.2" "${INTEL_VENDOR_DIR}/libOpenCL.so.1.2"
}
diff --git a/dev-util/intel-ocl-sdk/metadata.xml b/dev-util/intel-ocl-sdk/metadata.xml
index 61f0f5718487..dd498d74bb3b 100644
--- a/dev-util/intel-ocl-sdk/metadata.xml
+++ b/dev-util/intel-ocl-sdk/metadata.xml
@@ -8,7 +8,6 @@
<use>
<flag name="android">Install android related files</flag>
<flag name="system-boost">Use system boost (dev-libs/boost) instead of bundled one</flag>
- <flag name="system-clang">Use system clang (sys-devel/clang) instead of bundled one</flag>
<flag name="system-tbb">Use system Thread Building Blocks (dev-cpp/tbb) instead of bundled one</flag>
</use>
</pkgmetadata>