commit:     49e3b0b642073cbd8d6281723617de18ae46e4b3
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Jul  6 19:02:39 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jul  7 07:33:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e3b0b6

sci-libs/aotriton-bin: new package, add 0.9.2b

Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42907
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 profiles/features/musl/package.mask              |  1 +
 sci-libs/aotriton-bin/Manifest                   |  1 +
 sci-libs/aotriton-bin/aotriton-bin-0.9.2b.ebuild | 37 ++++++++++++++++++++++++
 sci-libs/aotriton-bin/metadata.xml               | 14 +++++++++
 4 files changed, 53 insertions(+)

diff --git a/profiles/features/musl/package.mask 
b/profiles/features/musl/package.mask
index d12f3c96a7b1..24fbdae6f146 100644
--- a/profiles/features/musl/package.mask
+++ b/profiles/features/musl/package.mask
@@ -375,6 +375,7 @@ net-print/hplip-plugin
 net-vpn/microsoft-azurevpnclient
 sci-chemistry/cara-bin
 sci-electronics/labone
+sci-libs/aotriton-bin
 sci-libs/mkl
 sci-mathematics/gimps
 sci-misc/jupyterlab-desktop-bin

diff --git a/sci-libs/aotriton-bin/Manifest b/sci-libs/aotriton-bin/Manifest
new file mode 100644
index 000000000000..a5ebd00dcff9
--- /dev/null
+++ b/sci-libs/aotriton-bin/Manifest
@@ -0,0 +1 @@
+DIST aotriton-0.9.2b-manylinux_2_28_x86_64-rocm6.4-shared.tar.gz 444787060 
BLAKE2B 
26cc079073919266c635e4ee3e7f69fa275fd1351b90cf472c639cd514be09187932868103e4c958f94cfb66e9cf74f6d8f9aac536868ec32272546d80180872
 SHA512 
b7e14e45e584795470a729a8fcfd6130886bbe772bb201b0afcb1786dc09c58bfae1d8e6e9024919dce93b90d2208271da5716b36a01bfaf1633c177fa1853e5

diff --git a/sci-libs/aotriton-bin/aotriton-bin-0.9.2b.ebuild 
b/sci-libs/aotriton-bin/aotriton-bin-0.9.2b.ebuild
new file mode 100644
index 000000000000..84e53cbf5d3c
--- /dev/null
+++ b/sci-libs/aotriton-bin/aotriton-bin-0.9.2b.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ROCM_VERSION=6.4
+
+MY_PN=${PN%*-bin}
+MY_P=${MY_PN}-${PV}
+MY_tar=${MY_P}-manylinux_2_28_x86_64-rocm${ROCM_VERSION}-shared.tar.gz
+
+DESCRIPTION="Ahead of Time (AOT) Triton Math Library (binary package)"
+HOMEPAGE="https://github.com/ROCm/aotriton";
+SRC_URI="https://github.com/ROCm/${MY_PN}/releases/download/${PV}/${MY_tar}";
+S="${WORKDIR}/${MY_PN}"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+
+KEYWORDS="-* ~amd64"
+
+RESTRICT="strip"
+QA_PREBUILT="*"
+
+RDEPEND="
+       sys-libs/glibc
+       sys-devel/gcc
+       app-arch/xz-utils
+       dev-util/hip:0/${ROCM_VERSION}
+"
+
+src_install() {
+       doheader -r include/*
+
+       insinto /usr/$(get_libdir)
+       doins -r lib/*
+}

diff --git a/sci-libs/aotriton-bin/metadata.xml 
b/sci-libs/aotriton-bin/metadata.xml
new file mode 100644
index 000000000000..81d3a1e179dd
--- /dev/null
+++ b/sci-libs/aotriton-bin/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+       </maintainer>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Sv. Lockal</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">ROCm/aotriton</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to