From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/
Date: Sun, 1 Dec 2024 07:57:53 +0000 (UTC) [thread overview]
Message-ID: <1733039869.df47b1f5dd0398f06c80afb33b69273cf58359f6.patrick@gentoo> (raw)
commit: df47b1f5dd0398f06c80afb33b69273cf58359f6
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 1 07:51:26 2024 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Dec 1 07:57:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df47b1f5
dev-libs/roct-thunk-interface: add 6.2.4
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
dev-libs/roct-thunk-interface/Manifest | 1 +
.../roct-thunk-interface-6.2.4.ebuild | 73 ++++++++++++++++++++++
2 files changed, 74 insertions(+)
diff --git a/dev-libs/roct-thunk-interface/Manifest b/dev-libs/roct-thunk-interface/Manifest
index 930fafe47b9c..229c62f064f3 100644
--- a/dev-libs/roct-thunk-interface/Manifest
+++ b/dev-libs/roct-thunk-interface/Manifest
@@ -5,3 +5,4 @@ DIST roct-thunk-interface-5.5.1.tar.gz 649617 BLAKE2B 54ecae486e5d8b99363947a93b
DIST roct-thunk-interface-5.7.1.tar.gz 665529 BLAKE2B 407601d45976ad66e85999c53bcaa62fefa2ea823e1d3296a9aabe8b6a9c915776344de4499fcf6f9ee80193201308b27b387a7225aca5d2cc7e294143eefacd SHA512 c0dc449c8b713ac543f6cd6c876ea0f160dcb1a5c4a52a2b1364fcae0039e9fe195e4223a2644d7d3a7fbc2a48166e798d15b9088e2097b65974e2ba5e48bdcf
DIST roct-thunk-interface-6.1.1.tar.gz 666377 BLAKE2B b30d733fb769f7169e97b8a28eaa61c84205aec06b55d662d24f159a3c84190f3252f090413769e56eb621abc789fae521cb7b26d7cdac952ff1e4e120707bc9 SHA512 2c579606d2ced9f8b5e32841db745819771b7d6ce0cef90b818e3710470e30c7715540125d99ed5ea13c4e672d5af6d8ad2dd5975ef76cab7ba993d86cf74eb4
DIST roct-thunk-interface-6.1.2.tar.gz 666380 BLAKE2B ffff2405bbb95a6908670a23cf6090147a5669f8ab0c999047203731c99c511738a33ac8d3fc0f0e5432e3744e948ec3fe658d6a578ecc63606c8a5662025b0a SHA512 083b1a865608016f78c094a27ece3858072e72d80e1322e7cef22261222a0f868d3b72ebfcd80a11e4719e90d3d3fc7b0c683aed77714f54f520bb126b13ab7c
+DIST roct-thunk-interface-6.2.4.tar.gz 674228 BLAKE2B d1e13cd4d772a2118c6af973893be077b205a197a7fbfc2c6b8ca616d079bfbd1edab788fe170980c3d746afee409dca00f267f6c5c481a7eb1320faafbf4145 SHA512 2df159af277be9834ff7fc60094fdeefdae029099e9208426d0efc817e8b88d74c40a75b36a774ab06d638ce37aef68483d2c7b8d77be96a4f76a160e1cd1bf7
diff --git a/dev-libs/roct-thunk-interface/roct-thunk-interface-6.2.4.ebuild b/dev-libs/roct-thunk-interface/roct-thunk-interface-6.2.4.ebuild
new file mode 100644
index 000000000000..6877c2515868
--- /dev/null
+++ b/dev-libs/roct-thunk-interface/roct-thunk-interface-6.2.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ROCM_SKIP_GLOBALS=1
+inherit cmake linux-info rocm
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/ROCm/ROCT-Thunk-Interface/"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/ROCm/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/ROCm/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
+ x11-libs/libdrm[video_cards_amdgpu]"
+DEPEND="${RDEPEND}
+ test? ( sys-devel/llvm
+ dev-cpp/gtest )"
+
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+CMAKE_BUILD_TYPE=Release
+
+test_wrapper() {
+ local S="$1"
+ shift 1
+ local CMAKE_USE_DIR="${S}"
+ local BUILD_DIR="${S}_build"
+ cd "${S}" || die
+ $@
+}
+
+src_prepare() {
+ sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCPACK_PACKAGING_INSTALL_PREFIX="${EPREFIX}/usr"
+ )
+ cmake_src_configure
+
+ if use test; then
+ export LIBHSAKMT_PATH="${BUILD_DIR}"
+ test_wrapper "${S}/tests/kfdtest" cmake_src_configure
+ fi
+}
+
+src_compile() {
+ cmake_src_compile
+ if use test; then
+ LIBRARY_PATH="${BUILD_DIR}" test_wrapper "${S}/tests/kfdtest" cmake_src_compile
+ fi
+}
+
+src_test() {
+ check_amdgpu
+ TESTDIR="${S}/tests/kfdtest_build/"
+ cd "${TESTDIR}" || die
+ PATH="${PATH}:${TESTDIR}" ./run_kfdtest.sh
+}
next reply other threads:[~2024-12-01 7:57 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-01 7:57 Patrick Lauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-11 18:14 [gentoo-commits] repo/gentoo:master commit in: dev-libs/roct-thunk-interface/ Andreas Sturmlechner
2025-06-15 16:12 Sam James
2025-02-13 8:38 Sam James
2024-07-28 8:00 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-22 16:16 Sam James
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=1733039869.df47b1f5dd0398f06c80afb33b69273cf58359f6.patrick@gentoo \
--to=patrick@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