public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/
Date: Wed, 22 Feb 2023 16:16:53 +0000 (UTC)	[thread overview]
Message-ID: <1677082496.0811f831716983206dc5bae5be61110d0bbeda4f.sam@gentoo> (raw)

commit:     0811f831716983206dc5bae5be61110d0bbeda4f
Author:     Niccolò Belli <niccolo.belli <AT> linuxsystems <DOT> it>
AuthorDate: Mon Feb 20 15:31:17 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 16:14:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0811f831

dev-libs/roct-thunk-interface: add 5.4.3

Signed-off-by: Niccolò Belli <niccolo.belli <AT> linuxsystems.it>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/roct-thunk-interface/Manifest             |  1 +
 .../roct-thunk-interface-5.4.3.ebuild              | 40 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-libs/roct-thunk-interface/Manifest b/dev-libs/roct-thunk-interface/Manifest
index 22b1b90140cd..cb86a42d504e 100644
--- a/dev-libs/roct-thunk-interface/Manifest
+++ b/dev-libs/roct-thunk-interface/Manifest
@@ -1,2 +1,3 @@
 DIST roct-thunk-interface-5.1.3.tar.gz 3178689 BLAKE2B c46af7bc60772beaa9a214a86a634290cfd7952589f70736c0c2544c0459eb4fdcc65030d897dbb67bfbaae545f529ac647397df3fcfeddeb5d5e05a283cfd6b SHA512 746a04e667ce242160d6e2519594fc93b205520dae28678859fbd40c3c641082aa6219c04c8e2b58289763a5244dd6336b56c2e2016ba671c5e5a6fb9ca5caea
 DIST roct-thunk-interface-5.3.3.tar.gz 646773 BLAKE2B 48632cad576ceccede0ee62663f226cbedba8374d8962028fd729a7b8e7eb75bebcb2f8ce06a838de15a388caea3d6dcb150db80f8d45a91675997b4f80625e6 SHA512 4a8730d16a0d240a43d5e22092325b0731d133733af0aac6c6893763d1ffb1a04a0c045d988835079581e097fc7c9e383f41ba84daa105c032d3a653b6b2c6b0
+DIST roct-thunk-interface-5.4.3.tar.gz 648897 BLAKE2B 9eefc5f417280a98c7c6b6d611d0d87fa52abca94f67bf5ecc10d84bb86433b5ff502f76aa6724245c7cf9d82b5c16c10943275e8d41f0053484765df5a901db SHA512 1787526515ec708edc398cdba308a8dfa32c2579524a6856a6f336cb7bfee8f9a00d67f1b489993c7454d1d88885032ce85ac752b4a15aaedef910f147aed3b5

diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-5.4.3.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-5.4.3.ebuild
new file mode 100644
index 000000000000..3f391bf5d5e0
--- /dev/null
+++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-5.4.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake linux-info
+
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/ROCT-Thunk-Interface-rocm-${PV}"
+	KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Radeon Open Compute Thunk Interface"
+HOMEPAGE="https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface"
+CONFIG_CHECK="~HSA_AMD ~HMM_MIRROR ~ZONE_DEVICE ~DRM_AMDGPU ~DRM_AMDGPU_USERPTR"
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+
+RDEPEND="sys-process/numactl"
+DEPEND="${RDEPEND}"
+BDEPEND="x11-libs/libdrm[video_cards_amdgpu]"
+
+CMAKE_BUILD_TYPE=Release
+
+src_prepare() {
+	sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die
+	sed -e "s:ubuntu:gentoo:" -i CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCPACK_PACKAGING_INSTALL_PREFIX="${EPREFIX}/usr"
+	)
+	cmake_src_configure
+}


             reply	other threads:[~2023-02-22 16:16 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-22 16:16 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-28  8:00 [gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/ Patrick Lauer
2024-03-12  2:25 Sam James
2023-10-19 10:38 罗百科
2023-09-03  6:31 罗百科
2023-09-03  6:31 罗百科
2023-02-01  9:53 Andreas Sturmlechner
2022-12-20  9:26 罗百科
2022-12-19 14:55 Andreas Sturmlechner
2022-08-06 14:23 Benda XU
2022-03-22  4:09 Benda XU
2022-02-11 16:12 Joonas Niilola
2021-08-19 19:46 Craig Andrews
2021-05-18 15:07 Craig Andrews
2020-12-21 12:55 Craig Andrews
2020-12-05 19:14 Craig Andrews
2020-10-27 14:07 Craig Andrews
2020-09-18 13:23 Craig Andrews
2020-08-25 21:08 Craig Andrews
2020-08-14 13:56 Craig Andrews
2020-07-08 13:22 Craig Andrews
2020-05-26 17:04 Craig Andrews
2020-03-31 16:36 Craig Andrews
2020-02-25 19:30 Craig Andrews
2020-01-07 20:04 Craig Andrews
2020-01-02 12:59 Craig Andrews
2020-01-02 12:48 Craig Andrews
2020-01-02 12:48 Craig Andrews
2019-12-17 18:46 Craig Andrews
2019-11-24 17:10 Craig Andrews
2019-10-04 21:09 Craig Andrews
2019-10-04 21:09 Craig Andrews
2019-10-04 14:36 Craig Andrews
2019-10-01 18:00 Craig Andrews
2019-09-30 15:35 Craig Andrews
2019-09-30 15:23 Craig Andrews
2019-08-14 20:54 Craig Andrews
2019-08-10 22:50 Craig Andrews
2019-08-07 17:38 Craig Andrews
2019-01-15 19:00 Craig Andrews

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=1677082496.0811f831716983206dc5bae5be61110d0bbeda4f.sam@gentoo \
    --to=sam@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