public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hsa-ext-rocr/
Date: Wed, 18 Mar 2020 16:53:26 +0000 (UTC)	[thread overview]
Message-ID: <1584550325.d7da82044377621b77882ebf46abae46a1063d26.marecki@gentoo> (raw)

commit:     d7da82044377621b77882ebf46abae46a1063d26
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 18 16:49:15 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Mar 18 16:52:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7da8204

dev-libs/hsa-ext-rocr: bump to 1.1.30100.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-libs/hsa-ext-rocr/Manifest                     |  1 +
 .../hsa-ext-rocr/hsa-ext-rocr-1.1.30100.0.ebuild   | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-libs/hsa-ext-rocr/Manifest b/dev-libs/hsa-ext-rocr/Manifest
index 28b756ace75..f76d3fe68f8 100644
--- a/dev-libs/hsa-ext-rocr/Manifest
+++ b/dev-libs/hsa-ext-rocr/Manifest
@@ -1,2 +1,3 @@
+DIST hsa-ext-rocr-dev_1.1.30100.0-rocm-rel-3.1-44-ecafeba1_amd64.deb 1209486 BLAKE2B 7aa44fecde68761916100312a58d4d1fc77e9e88e6e322548f0d603fc7a8be4d202b387a1ab823ff784ea6e365297846cd5630997362f8691baf6a5ed226c942 SHA512 1373931b80b2d830de8b4741159dfa46a5d6608886e87c780090a558c0070020b3efbe227c6c6803afbdc632be7f632e03c1a9bbb377949bd14de2d0d7117351
 DIST hsa-ext-rocr-dev_1.1.9-122-ge5c4efb_amd64.deb 1120322 BLAKE2B 40c60058c2b6d6debf80503c36f6b0ddc72747c7327e411121f99fa2e507e5e9414cb91c80be0acf283bff23a6a029b3ef199577846b694b2e2e11696cc7d225 SHA512 60dad492cc66f249d48fb057b2ecec1719525a871d38f39a403a55de98e8cdea5f00f672fa3ea697490c287ba7e5c3be035f1f2861a7fc97d9b949f575e51ad7
 DIST hsa-ext-rocr-dev_1.1.9-139-g0d1ca36_amd64.deb 1166210 BLAKE2B 3edcc938ec92277a163886df4e83f93f6a38b1ec4e95e719265f7a595d291fe4beef68aeca3fb09f8f56a0abf041a987d57e2469310da8cd16f2352b2af5077c SHA512 dbf7991b404cc371575e5d8c40f438bbead8bfef5c73dfd3b7295d64f800892c1f220a6eff8cc67d99ca4bec819bf1b69e37f85873ec372dca9bdd42542fa320

diff --git a/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.30100.0.ebuild b/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.30100.0.ebuild
new file mode 100644
index 00000000000..26a9c025988
--- /dev/null
+++ b/dev-libs/hsa-ext-rocr/hsa-ext-rocr-1.1.30100.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit unpacker
+
+ROCM_VERSION="3.1.0"
+MY_PV="${PV}-rocm-rel-$(ver_cut 1-2 ${ROCM_VERSION})-44-ecafeba1"
+
+DESCRIPTION="Proprietary image-support library for Radeon Open Compute"
+HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm#closed-source-components"
+SRC_URI="http://repo.radeon.com/rocm/apt/debian/pool/main/h/${PN}-dev/${PN}-dev_${MY_PV}_amd64.deb"
+
+LICENSE="AMD-GPU-PRO-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="-deprecated"
+
+RESTRICT="bindist strip"
+
+QA_PREBUILT="/opt/${PN}/lib*/*"
+
+S="${WORKDIR}"
+
+src_unpack() {
+	unpack_deb ${A}
+}
+
+src_install() {
+	local destdir="/opt/${PN}"
+	local soversion=$(ver_cut 1-3)
+	local somajor=$(ver_cut 1)
+
+	local solibs_to_install=( "libhsa-ext-image64.so" )
+	if use deprecated; then
+		solibs_to_install+=( "libhsa-runtime-tools64.so" )
+	fi
+
+	into "${destdir}"
+	for solib in ${solibs_to_install[@]}; do
+		dolib.so "opt/rocm-${ROCM_VERSION}/hsa/lib/${solib}.${soversion}"
+		dosym "../..${destdir}/$(get_libdir)/${solib}.${soversion}" "/usr/$(get_libdir)/${solib}.${soversion}"
+		dosym "${solib}.${soversion}" "/usr/$(get_libdir)/${solib}.${somajor}"
+	done
+}


             reply	other threads:[~2020-03-18 16:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18 16:53 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-19 14:31 [gentoo-commits] repo/gentoo:master commit in: dev-libs/hsa-ext-rocr/ Marek Szuba
2020-04-26 21:44 Marek Szuba
2020-04-26 21:44 Marek Szuba
2020-03-18 16:53 Marek Szuba
2020-01-31  8:08 Michał Górny
2020-01-26 23:10 Mike Gilbert
2019-12-19 13:14 Marek Szuba
2019-12-19 13:14 Marek Szuba
2019-11-05 12:59 Marek Szuba
2019-09-30 11:39 Marek Szuba
2019-09-30 11:39 Marek Szuba
2019-09-23 17:16 Michał Górny
2019-08-20 15:14 Marek Szuba

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=1584550325.d7da82044377621b77882ebf46abae46a1063d26.marecki@gentoo \
    --to=marecki@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