summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-10-02 05:48:24 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-10-02 05:48:24 +0000
commit9de53e24d2d899d8b49958a70438e24404d75dba (patch)
treec64a10d0021d06033759e7bd4141ae3eef3f7269 /dev-util/intel-ocl-sdk
parentFixes for bug 435016, bug 433090, and bug 412247. (diff)
downloadgentoo-2-9de53e24d2d899d8b49958a70438e24404d75dba.tar.gz
gentoo-2-9de53e24d2d899d8b49958a70438e24404d75dba.tar.bz2
gentoo-2-9de53e24d2d899d8b49958a70438e24404d75dba.zip
Version bump wrt #436624 by Anton Bolshakov <anton.bugs@gmail.com>
(Portage version: 2.2.0_alpha133/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/intel-ocl-sdk')
-rw-r--r--dev-util/intel-ocl-sdk/ChangeLog9
-rw-r--r--dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild58
2 files changed, 65 insertions, 2 deletions
diff --git a/dev-util/intel-ocl-sdk/ChangeLog b/dev-util/intel-ocl-sdk/ChangeLog
index b9ee243754bd..bb6c6d853375 100644
--- a/dev-util/intel-ocl-sdk/ChangeLog
+++ b/dev-util/intel-ocl-sdk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/intel-ocl-sdk
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog,v 1.3 2012/03/20 16:42:31 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/ChangeLog,v 1.4 2012/10/02 05:48:24 xarthisius Exp $
+
+*intel-ocl-sdk-2.0.31360 (02 Oct 2012)
+
+ 02 Oct 2012; Kacper Kowalik <xarthisius@gentoo.org>
+ +intel-ocl-sdk-2.0.31360.ebuild:
+ Version bump wrt #436624 by Anton Bolshakov <anton.bugs@gmail.com>
20 Mar 2012; Agostino Sarubbo <ago@gentoo.org> intel-ocl-sdk-1.5.ebuild:
Stable for amd64, wrt bug #408975
@@ -13,4 +19,3 @@
04 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org>
+intel-ocl-sdk-1.5.ebuild, +metadata.xml:
Initial import
-
diff --git a/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild b/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild
new file mode 100644
index 000000000000..894d39d2d752
--- /dev/null
+++ b/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/intel-ocl-sdk/intel-ocl-sdk-2.0.31360.ebuild,v 1.1 2012/10/02 05:48:24 xarthisius Exp $
+
+EAPI=4
+
+MY_P=${PN//-/_}_2012_x64
+
+inherit rpm multilib
+
+INTEL_CL=/usr/$(get_libdir)/OpenCL/vendors/intel/
+
+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://registrationcenter.intel.com/irc_nas/2563/intel_sdk_for_ocl_applications_2012_x64.tgz"
+LICENSE="Intel-SDP"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 -x86"
+
+#sys-devel/clang
+#dev-libs/boost:1.46
+RDEPEND="app-admin/eselect-opencl
+ dev-cpp/tbb
+ sys-process/numactl"
+DEPEND=""
+
+RESTRICT="mirror"
+QA_EXECSTACK="${INTEL_CL/\//}libcpu_device.so
+ ${INTEL_CL/\//}libOclCpuBackEnd.so
+ ${INTEL_CL/\//}libtask_executor.so"
+QA_PREBUILT="${INTEL_CL}*"
+
+S=${WORKDIR}
+
+src_unpack() {
+ default
+ rpm_unpack ./${MY_P}.rpm
+}
+
+src_install() {
+ doins -r etc usr/bin
+ # things that are left out: llc, ioc
+ insinto ${INTEL_CL}
+ doins -r usr/include
+
+ insopts -m 755
+ newins usr/lib64/libOpenCL.so libOpenCL.so.1
+ dosym libOpenCL.so.1 ${INTEL_CL}/libOpenCL.so
+ pushd usr/lib64/OpenCL/vendors/intel &> /dev/null
+ rm -f libboost* libtbb*
+ doins *.so *rtl *pch
+ popd &> /dev/null
+}
+
+pkg_postinst() {
+ eselect opencl set --use-old intel
+}