From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, dev-libs/cutlass/
Date: Mon, 27 Feb 2023 14:16:46 +0000 (UTC) [thread overview]
Message-ID: <1677507187.72b00eae9b73d5180aed21f90e2f0471ad51047e.tupone@gentoo> (raw)
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
reply other threads:[~2023-02-27 14:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1677507187.72b00eae9b73d5180aed21f90e2f0471ad51047e.tupone@gentoo \
--to=tupone@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