public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <ottxor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-util/intel-ocl-sdk/
Date: Thu,  4 Jul 2013 19:10:49 +0000 (UTC)	[thread overview]
Message-ID: <1372371103.ac241c3a4b07ed1a92f12f076379d891de51a9f4.ottxor@gentoo> (raw)

commit:     ac241c3a4b07ed1a92f12f076379d891de51a9f4
Author:     Andreas Schäfer <gentryx <AT> gmx <DOT> de>
AuthorDate: Thu Jun 27 22:11:43 2013 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 22:11:43 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ac241c3a

added ebuild for Intel OpenCL SDK 3.0.67279

---
 .../intel-ocl-sdk/intel-ocl-sdk-3.0.67279.ebuild   | 59 ++++++++++++++++++++++
 dev-util/intel-ocl-sdk/metadata.xml                | 14 +++++
 2 files changed, 73 insertions(+)

diff --git a/dev-util/intel-ocl-sdk/intel-ocl-sdk-3.0.67279.ebuild b/dev-util/intel-ocl-sdk/intel-ocl-sdk-3.0.67279.ebuild
new file mode 100644
index 0000000..69f86f0
--- /dev/null
+++ b/dev-util/intel-ocl-sdk/intel-ocl-sdk-3.0.67279.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+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/3142/intel_sdk_for_ocl_applications_2013_xe_sdk_${PV}_x64.tgz"
+
+LICENSE="Intel-SDP"
+SLOT="0"
+IUSE="mic"
+KEYWORDS="~amd64"
+
+RDEPEND="app-admin/eselect-opencl
+		sys-process/numactl"
+
+RESTRICT="mirror strip"
+
+QA_EXECSTACK="
+	/opt/intel/opencl-1.2-${PV}/bin/KernelBuilder64.bin
+"
+QA_PREBUILT="
+	/opt/intel/opencl-1.2-${PV}/bin/KernelBuilder64.bin
+	/opt/intel/opencl-1.2-${PV}/bin/ioc64.bin
+	/opt/intel/opencl-1.2-${PV}/lib64/libcl_logger.so
+	/opt/intel/opencl-1.2-${PV}/lib64/libclang_compiler.so
+	/opt/intel/opencl-1.2-${PV}/lib64/libintelocl.so
+	/opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so.1.2
+	/opt/intel/opencl-1.2-${PV}/lib64/libtask_executor.so
+	/opt/intel/opencl-1.2-${PV}/lib64/libcpu_device.so
+"
+
+S="${WORKDIR}/intel_sdk_for_ocl_applications_2013_xe_sdk_${PV}_x64"
+
+src_unpack() {
+	default
+	cd "${S}"
+	rpm_unpack "./opencl-1.2-base-${PV}-1.x86_64.rpm" "./opencl-1.2-devel-${PV}-1.x86_64.rpm" "./opencl-1.2-intel-cpu-${PV}-1.x86_64.rpm" "./opencl-1.2-intel-devel-${PV}-1.x86_64.rpm"
+	use mic && rpm_unpack "./opencl-1.2-intel-mic-${PV}-1.x86_64.rpm"
+}
+
+src_install() {
+	doins -r etc
+	doins -r opt
+
+	dodir "${INTEL_CL}"
+	dosym "/opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so"     "${INTEL_CL}"
+	dosym "/opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so.1"   "${INTEL_CL}"
+	dosym "/opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so.1.2" "${INTEL_CL}"
+
+	dodir "/etc/OpenCL/vendors"
+	dosym "/opt/intel/opencl-1.2-${PV}/etc/intel64.icd" /etc/OpenCL/vendors
+}

diff --git a/dev-util/intel-ocl-sdk/metadata.xml b/dev-util/intel-ocl-sdk/metadata.xml
new file mode 100644
index 0000000..1803fb5
--- /dev/null
+++ b/dev-util/intel-ocl-sdk/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>cluster</herd>
+  <longdescription>
+	Intel SDKs for OpenCL applications provide development environments including code samples, build and debug tools, and optimization tools for OpenCL on Intel architecture. Supports both Intel processors and Intel Xeon Phi coprocessors.
+  </longdescription>
+  <maintainer>
+    <email>gentryx@gmx.de</email>
+  </maintainer>
+  <use>
+	<flag name='mic'>Installs the OpenCL libraries for Xeon Phi (a.k.a. MIC)</flag>
+  </use>
+</pkgmetadata>


             reply	other threads:[~2013-07-04 19:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-04 19:10 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-07-04 19:10 [gentoo-commits] proj/sci:master commit in: dev-util/intel-ocl-sdk/ Christoph Junghans
2013-07-04 19:10 Christoph Junghans
2013-12-04 12:25 Justin Lecher
2013-12-04 12:29 Justin Lecher
2014-03-03 20:37 Sebastien Fabbro
2015-04-02 10:34 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1372371103.ac241c3a4b07ed1a92f12f076379d891de51a9f4.ottxor@gentoo \
    --to=ottxor@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox