public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nicolas Bock" <nicolasbock@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-util/amdapp/
Date: Tue,  3 Mar 2015 12:26:49 +0000 (UTC)	[thread overview]
Message-ID: <1425374195.0a0aaebb309498510b235face1ad3141098d47dd.nicolasbock@gentoo> (raw)

commit:     0a0aaebb309498510b235face1ad3141098d47dd
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Feb  1 11:59:02 2015 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
CommitDate: Tue Mar  3 09:16:35 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0a0aaebb

dev-util/amdapp-2.9.1: Version bump

 dev-util/amdapp/ChangeLog           |  6 +++
 dev-util/amdapp/amdapp-2.9.1.ebuild | 84 +++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/dev-util/amdapp/ChangeLog b/dev-util/amdapp/ChangeLog
index 8cf85ee..0bf4083 100644
--- a/dev-util/amdapp/ChangeLog
+++ b/dev-util/amdapp/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*amdapp-2.9.1 (03 Mar 2015)
+
+  03 Mar 2015; Marius Brehler <marbre@linux.sungazer.de>
+  +amdapp-2.9.1.ebuild:
+  Version bump
+
   18 Feb 2015; Justin Lecher <jlec@gentoo.org> -amdapp-2.8.ebuild,
   amdapp-2.9.ebuild, metadata.xml:
   dev-util/amdapp: fix SLOT operators; restrict fetch; drop old

diff --git a/dev-util/amdapp/amdapp-2.9.1.ebuild b/dev-util/amdapp/amdapp-2.9.1.ebuild
new file mode 100644
index 0000000..17f31d5
--- /dev/null
+++ b/dev-util/amdapp/amdapp-2.9.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit multilib unpacker versionator
+
+MY_V=$(get_version_component_range 1).$(get_version_component_range 2)
+
+X86_AT="AMD-APP-SDK-linux-v${MY_V}-1.599.381-GA-x86.tar.bz2"
+AMD64_AT="AMD-APP-SDK-linux-v${MY_V}-1.599.381-GA-x64.tar.bz2"
+
+MY_P_AMD64="AMD-APP-SDK-v${MY_V}-1.599.381-GA-linux64.sh"
+MY_P_AMD32="AMD-APP-SDK-v${MY_V}-1.599.381-GA-linux32.sh"
+
+DESCRIPTION="AMD Accelerated Parallel Processing (APP) SDK"
+HOMEPAGE="http://developer.amd.com/tools-and-sdks/opencl-zone/\
+amd-accelerated-parallel-processing-app-sdk"
+SRC_URI="
+		amd64? ( ${AMD64_AT} )
+		x86? ( ${X86_AT} )"
+LICENSE="AMD-APPSDK"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="examples"
+
+RDEPEND="
+	app-admin/eselect-opengl
+	!<dev-util/amdstream-2.6
+	sys-devel/llvm
+	sys-devel/gcc
+	media-libs/mesa
+	media-libs/freeglut
+	virtual/opencl
+	examples? ( media-libs/glew )
+	app-admin/eselect-opencl"
+DEPEND="
+	${RDEPEND}
+	dev-lang/perl
+	dev-util/patchelf
+	sys-apps/fakeroot"
+
+RESTRICT="mirror strip"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+	einfo "AMD doesn't provide direct download links. Please download"
+	einfo "${ARCHIVE} from ${HOMEPAGE}"
+}
+
+src_unpack() {
+	default 
+
+	cd "${WORKDIR}" || die
+
+	if use amd64 || use amd64-linux ; then
+		unpacker ./${MY_P_AMD64}
+	else
+		unpacker ./${MY_P_X86}
+	fi
+}
+
+src_prepare() {
+	AMD_CL=usr/$(get_libdir)/OpenCL/vendors/amd/
+}
+
+src_compile() {
+	MAKEOPTS+=" -j1"
+	use examples && cd samples/opencl && emake
+}
+
+src_install() {
+	dodir /opt/AMDAPP
+	cp -R "${S}/"* "${ED}/opt/AMDAPP" || die "Install failed!"
+
+	dodir "${AMD_CL}"
+	dosym "/opt/AMDAPP/lib/`arch`/libOpenCL.so"   "${AMD_CL}"
+	dosym "/opt/AMDAPP/lib/`arch`/libOpenCL.so.1" "${AMD_CL}"
+
+	#insinto /etc/OpenCL/vendors/
+	#doins ../etc/OpenCL/vendors/*
+}


             reply	other threads:[~2015-03-03 12:26 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 12:26 Nicolas Bock [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-27 18:43 [gentoo-commits] proj/sci:master commit in: dev-util/amdapp/ Aisha Tammy
2017-03-26 14:45 Justin Lecher
2017-02-25 19:18 Justin Lecher
2017-01-29 11:59 Justin Lecher
2015-12-07  8:12 Marius Brehler
2015-12-07  8:12 Marius Brehler
2015-11-27 16:13 Marius Brehler
2015-09-23 12:48 Justin Lecher
2015-04-02 10:34 Justin Lecher
2015-03-03 12:26 git@oystercatcher mirror+tproxy
2015-03-03 12:26 git@oystercatcher mirror+tproxy
2015-03-03 12:26 git@oystercatcher mirror+tproxy
2015-03-03 12:26 Nicolas Bock
2015-03-03 12:26 Nicolas Bock
2015-02-02 12:06 Justin Lecher
2015-02-02 12:06 Justin Lecher
2015-02-02 12:06 Justin Lecher
2015-02-02 12:06 Justin Lecher
2014-11-15  0:21 Christoph Junghans
2013-07-04 19:10 Christoph Junghans
2013-07-04 19:10 Christoph Junghans
2013-07-04 19:10 Christoph Junghans
2013-05-15 11:35 Kacper Kowalik
2013-05-15 11:35 Kacper Kowalik

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=1425374195.0a0aaebb309498510b235face1ad3141098d47dd.nicolasbock@gentoo \
    --to=nicolasbock@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