* [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, dev-libs/cutlass/
@ 2023-02-27 14:16 99% Alfredo Tupone
0 siblings, 0 replies; 1+ results
From: Alfredo Tupone @ 2023-02-27 14:16 UTC (permalink / raw
To: gentoo-commits
commit: 72b00eae9b73d5180aed21f90e2f0471ad51047e
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 14:13:07 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 14:13:07 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72b00eae
dev-libs/cutlass: new package, add 2.10.0
Bug: https://bugs.gentoo.org/895490
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-libs/cutlass/Manifest | 1 +
dev-libs/cutlass/cutlass-2.10.0.ebuild | 33 +++++++++++++++++++++++++++++++++
dev-libs/cutlass/metadata.xml | 12 ++++++++++++
profiles/features/musl/package.mask | 4 ++++
4 files changed, 50 insertions(+)
diff --git a/dev-libs/cutlass/Manifest b/dev-libs/cutlass/Manifest
new file mode 100644
index 000000000000..5912c749cc75
--- /dev/null
+++ b/dev-libs/cutlass/Manifest
@@ -0,0 +1 @@
+DIST cutlass-2.10.0.tar.gz 15241458 BLAKE2B 66779759ac1c7ebcb860bb9b925a236b45959f5ee3bf4e1f95ffd05a98200dcf2eb4fe2907c02e44143d3f51eca1e2a4ebd890e0edab7fd5378684819123f197 SHA512 4310f8da2931815a63a5e9a69c6c073f95148efecbea7026afcd90965dbd2e1921db52b0ac2a06cda64e20bbaa44112ae1fb7c3b557c41416d99dac33d000aa7
diff --git a/dev-libs/cutlass/cutlass-2.10.0.ebuild b/dev-libs/cutlass/cutlass-2.10.0.ebuild
new file mode 100644
index 000000000000..a7b1d9da92e3
--- /dev/null
+++ b/dev-libs/cutlass/cutlass-2.10.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cuda cmake
+
+DESCRIPTION="CUDA Templates for Linear Algebra Subroutines"
+HOMEPAGE="https://github.com/NVIDIA/cutlass"
+SRC_URI="https://github.com/NVIDIA/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND="dev-util/nvidia-cuda-toolkit"
+
+src_configure() {
+ mycmakeargs+=(
+ -DCMAKE_CUDA_FLAGS="$(cuda_gccdir -f | tr -d \")"
+ -DCUTLASS_ENABLE_HEADERS_ONLY=yes
+ -DCUTLASS_ENABLE_TESTS=no
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ rm -r "${D}"/usr/test || die
+}
diff --git a/dev-libs/cutlass/metadata.xml b/dev-libs/cutlass/metadata.xml
new file mode 100644
index 000000000000..851323cabae4
--- /dev/null
+++ b/dev-libs/cutlass/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pytorch/pytorch</remote-id>
+ <remote-id type="github">NVIDIA/cutlass</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/profiles/features/musl/package.mask b/profiles/features/musl/package.mask
index 2f45df3c93a3..3c3146bd5ceb 100644
--- a/profiles/features/musl/package.mask
+++ b/profiles/features/musl/package.mask
@@ -1,6 +1,10 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Alfredo Tupone <tupone@gentoo.org> (2023-02-27)
+# Uses dev-util/nvidia-cuda-toolkit
+dev-libs/cutlass
+
# Sam James <sam@gentoo.org> (2023-01-02)
# Uses error.h, bug #888956
=sys-libs/liburing-2.3
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2023-02-27 14:16 99% [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, dev-libs/cutlass/ Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox