From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 08D10158030 for ; Mon, 27 Feb 2023 14:16:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18EBEE07AE; Mon, 27 Feb 2023 14:16:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F2FA8E07AE for ; Mon, 27 Feb 2023 14:16:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1B98335DC1 for ; Mon, 27 Feb 2023 14:16:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 806A873E for ; Mon, 27 Feb 2023 14:16:46 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1677507187.72b00eae9b73d5180aed21f90e2f0471ad51047e.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, dev-libs/cutlass/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/cutlass/Manifest dev-libs/cutlass/cutlass-2.10.0.ebuild dev-libs/cutlass/metadata.xml profiles/features/musl/package.mask X-VCS-Directories: dev-libs/cutlass/ profiles/features/musl/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 72b00eae9b73d5180aed21f90e2f0471ad51047e X-VCS-Branch: master Date: Mon, 27 Feb 2023 14:16:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 29d6678e-54c2-42c2-af0d-e894e66afecf X-Archives-Hash: 8f4763ae6d5767254c59456a46ef81f0 commit: 72b00eae9b73d5180aed21f90e2f0471ad51047e Author: Alfredo Tupone gentoo org> AuthorDate: Mon Feb 27 14:13:07 2023 +0000 Commit: Alfredo Tupone gentoo 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 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 @@ + + + + + tupone@gentoo.org + Tupone Alfredo + + + pytorch/pytorch + NVIDIA/cutlass + + 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 (2023-02-27) +# Uses dev-util/nvidia-cuda-toolkit +dev-libs/cutlass + # Sam James (2023-01-02) # Uses error.h, bug #888956 =sys-libs/liburing-2.3