diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-02-27 15:13:07 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-02-27 15:13:07 +0100 |
commit | 72b00eae9b73d5180aed21f90e2f0471ad51047e (patch) | |
tree | 65b2b2691111b84101f5aff80fce13737943c2af /dev-libs | |
parent | dev-python/python-xmp-toolkit: update patch to please testing (diff) | |
download | gentoo-72b00eae9b73d5180aed21f90e2f0471ad51047e.tar.gz gentoo-72b00eae9b73d5180aed21f90e2f0471ad51047e.tar.bz2 gentoo-72b00eae9b73d5180aed21f90e2f0471ad51047e.zip |
dev-libs/cutlass: new package, add 2.10.0
Bug: https://bugs.gentoo.org/895490
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/cutlass/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/cutlass/cutlass-2.10.0.ebuild | 33 | ||||
-rw-r--r-- | dev-libs/cutlass/metadata.xml | 12 |
3 files changed, 46 insertions, 0 deletions
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> |