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 A1340158013 for ; Sat, 2 Dec 2023 16:44:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6C102BC016; Sat, 2 Dec 2023 16:44:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B12D82BC016 for ; Sat, 2 Dec 2023 16:44:28 +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 00AA6335C7A for ; Sat, 2 Dec 2023 16:44:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 88978BAE for ; Sat, 2 Dec 2023 16:44:26 +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: <1701535444.f2ee99b3cd57279c7f4619a8bbd486b2f3fb52d1.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cutlass/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/cutlass/Manifest dev-libs/cutlass/cutlass-3.1.0.ebuild X-VCS-Directories: dev-libs/cutlass/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: f2ee99b3cd57279c7f4619a8bbd486b2f3fb52d1 X-VCS-Branch: master Date: Sat, 2 Dec 2023 16:44:26 +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: 04edbcf3-7d12-4b89-aa32-31c63997b0cf X-Archives-Hash: baf32be3efb75f755714ca643dea4913 commit: f2ee99b3cd57279c7f4619a8bbd486b2f3fb52d1 Author: Alfredo Tupone gentoo org> AuthorDate: Sat Dec 2 16:44:04 2023 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Sat Dec 2 16:44:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2ee99b3 dev-libs/cutlass: add 3.1.0 Signed-off-by: Alfredo Tupone gentoo.org> dev-libs/cutlass/Manifest | 1 + dev-libs/cutlass/cutlass-3.1.0.ebuild | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-libs/cutlass/Manifest b/dev-libs/cutlass/Manifest index 5912c749cc75..f05e63478fc7 100644 --- a/dev-libs/cutlass/Manifest +++ b/dev-libs/cutlass/Manifest @@ -1 +1,2 @@ DIST cutlass-2.10.0.tar.gz 15241458 BLAKE2B 66779759ac1c7ebcb860bb9b925a236b45959f5ee3bf4e1f95ffd05a98200dcf2eb4fe2907c02e44143d3f51eca1e2a4ebd890e0edab7fd5378684819123f197 SHA512 4310f8da2931815a63a5e9a69c6c073f95148efecbea7026afcd90965dbd2e1921db52b0ac2a06cda64e20bbaa44112ae1fb7c3b557c41416d99dac33d000aa7 +DIST cutlass-3.1.0.tar.gz 20499454 BLAKE2B 2ece61530e63baebbe3f01d707fed3cb42dadd5dd9a4d1fe8ff70bb60a8dc93719bd19936eb138b01d26ed1db984e109a7a3ab148f8aceea0fae17151f0a5bee SHA512 35224845ddbd9d898f53299fc76ef4bc090d09f62da85cb7a2033f985d8fbb638ac475cdb8eacaf9045adbf1aa7528de4dcaedfdd68b5e32aa689987bcff33d9 diff --git a/dev-libs/cutlass/cutlass-3.1.0.ebuild b/dev-libs/cutlass/cutlass-3.1.0.ebuild new file mode 100644 index 000000000000..d85941a8c5e4 --- /dev/null +++ b/dev-libs/cutlass/cutlass-3.1.0.ebuild @@ -0,0 +1,38 @@ +# 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" + +BDEPEND="dev-util/nvidia-cuda-toolkit" + +src_prepare() { + cmake_src_prepare + cuda_src_prepare +} + +src_configure() { + mycmakeargs+=( + -DCMAKE_CUDA_FLAGS="$(cuda_gccdir -f | tr -d \")" + -DCUTLASS_ENABLE_HEADERS_ONLY=yes + -DCUTLASS_ENABLE_TESTS=no + ) + cuda_add_sandbox -w + addpredict /dev/char + cmake_src_configure +} + +src_install() { + cmake_src_install + rm -r "${ED}"/usr/test || die +}