mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-libs/cutlass: add 3.4.1
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST cutlass-3.3.0.tar.gz 20850597 BLAKE2B 07dc1f503395cfed1efb51871baa4ca7890fc4c871cb146933590c51599b4114fd38099bfcd84d8b0b76b876cc6e9f3bb8f42a3f9a7c9321185f7d880609a5da SHA512 c950ab718e67ffc972911b81890eae767a27d32dfc13f72b91e21e7c6b98eadfb3a5eebb9683091e61aed61709481451cfcd95d660e723686bf79a155e9f0b17
|
||||
DIST cutlass-3.4.1.tar.gz 23351905 BLAKE2B 6524d70a4f65fc28c7150aa44bfbb5cc64c1b5e885e645d0e58d96dd1c03565c564e8f55f6f0275f2c607d7877e9380e90e424da3eaf44cc6e8997271c5d519d SHA512 c2ff60af28de951cf4420b163ba2dfc46d30c98fe9e6e765cd1e0be89bf9292e057542ec7061c043c42225b74d970f95f675d366db64105a5c103bb165183ab5
|
||||
|
||||
39
dev-libs/cutlass/cutlass-3.4.1.ebuild
Normal file
39
dev-libs/cutlass/cutlass-3.4.1.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 2023-2024 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
|
||||
addpredict /proc/self/task
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
rm -r "${ED}"/usr/test || die
|
||||
}
|
||||
Reference in New Issue
Block a user