diff options
author | 2011-12-21 16:07:49 +0100 | |
---|---|---|
committer | 2011-12-21 16:07:49 +0100 | |
commit | a9da64812793e649bb2540de4548a4b5c35bdb10 (patch) | |
tree | 365ff3f87932cd748d642e6a3ca8e86c7e6d2289 | |
parent | [dev-util/opencl-headers] block agains cuda-toolkit, [virtual/opencl] add alt... (diff) | |
download | xarthisius-a9da64812793e649bb2540de4548a4b5c35bdb10.tar.gz xarthisius-a9da64812793e649bb2540de4548a4b5c35bdb10.tar.bz2 xarthisius-a9da64812793e649bb2540de4548a4b5c35bdb10.zip |
[dev-util/intel-ocl-sdk] initial import
-rw-r--r-- | dev-util/intel-ocl-sdk/Manifest | 3 | ||||
-rw-r--r-- | dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild | 58 | ||||
-rw-r--r-- | dev-util/intel-ocl-sdk/metadata.xml | 8 |
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-util/intel-ocl-sdk/Manifest b/dev-util/intel-ocl-sdk/Manifest new file mode 100644 index 0000000..cb914b0 --- /dev/null +++ b/dev-util/intel-ocl-sdk/Manifest @@ -0,0 +1,3 @@ +DIST intel_ocl_sdk_1.5_x64.tgz 27901208 RMD160 dbc9fe35080bec352fd1ba3c5be6fa4ec9f17e0f SHA1 752168236f05022369384964a05371718fd963aa SHA256 bfc3b45e833ad158266fd79fb9494b040a060d48e5880dbbf538eba167450810 +EBUILD intel-ocl-sdk-1.5.ebuild 1189 RMD160 10ad0d169f52327834a0f3708a278494b3f5e8ad SHA1 5dadae4c94f9851b8bdf44edab186b7a62ed8092 SHA256 d68b27425783edeb9c4aba846e98b733f1a3fc29874dffd11fe76ffe0cabfd4d +MISC metadata.xml 237 RMD160 c1eff8035f69f2011d83fdee601d3131a88ea9bf SHA1 bbbe43f48a08f38c431e4f1aecd0210b8049798b SHA256 da0461f424a48f918d7233b1c957149d1bedcd5b81e63652176728af4e524c6f diff --git a/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild b/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild new file mode 100644 index 0000000..b3780d3 --- /dev/null +++ b/dev-util/intel-ocl-sdk/intel-ocl-sdk-1.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +EAPI=4 + +MY_PN=${PN//-/_} +MY_P=${MY_PN}_${PV}_x64 +INTEL_SDK=/opt/intel/opencl-sdk/ + +inherit rpm + +DESCRIPTION="Intel's implementation of the OpenCL standard optimized for Intel processors." +HOMEPAGE="http://software.intel.com/en-us/articles/opencl-sdk/" +SRC_URI="http://software.intel.com/file/35820/${MY_P}.tgz" #BOGUS + +LICENSE="Intel-SDP" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 -x86" + +#sys-devel/clang +#dev-libs/boost:1.46 +RDEPEND="dev-cpp/tbb + sys-process/numactl" +DEPEND="" + +RESTRICT="mirror" +QA_EXECSTACK="${INTEL_SDK/\//}lib/libcpu_device.so + ${INTEL_SDK/\//}lib/libOclCpuBackEnd.so + ${INTEL_SDK/\//}lib/libtask_executor.so" +QA_PREBUILT="${INTEL_SDK}lib/*" + +S=${WORKDIR} + +src_unpack() { + default + rpm_unpack ./${MY_P}.rpm +} + +src_prepare() { + cat <<- EOF > "${S}"/intelocl64.icd + ${INTEL_SDK}/lib/libintelocl.so + EOF +} + +src_install() { + insinto ${INTEL_SDK} + doins -r usr/include + + insinto ${INTEL_SDK}/lib + doins usr/lib64/libOpenCL.so + pushd usr/lib64/OpenCL/vendors/intel + rm -f libboost* libtbb* + doins *.so *rtl *pch + popd + # things that are left out: llc, ioc +} diff --git a/dev-util/intel-ocl-sdk/metadata.xml b/dev-util/intel-ocl-sdk/metadata.xml new file mode 100644 index 0000000..6629da3 --- /dev/null +++ b/dev-util/intel-ocl-sdk/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>xarthisius@gentoo.org</email> + <name>Kacper Kowalik</name> + </maintainer> +</pkgmetadata> |