mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
cudnn-8.8.0.121.ebuild
This commit is contained in:
parent
6f9acd8c1f
commit
f7e43ab163
3 changed files with 47 additions and 0 deletions
1
dev-libs/cudnn/Manifest
Normal file
1
dev-libs/cudnn/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST cudnn-linux-x86_64-8.8.0.121_cuda12-archive.tar.xz 871089052 BLAKE2B 48f4142d7fea4192e4a910807fa7344c75372aa0d4a68e020416de960eb4b344262551e374b26cdd323751c3c75a000c63a326ece6f801a6ddfbfe06fe51ee6c SHA512 ffdbc1ca4fb03c6906b6896763790ca288aba098e50ed2fbf33a2b994a09386bc6fb5ec9a3a49a82be494331f43c85e22fa406575c4fddb30246f32ee85660e7
|
||||
38
dev-libs/cudnn/cudnn-8.8.0.121.ebuild
Normal file
38
dev-libs/cudnn/cudnn-8.8.0.121.ebuild
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit unpacker
|
||||
|
||||
BASE_V="$(ver_cut 0-3)"
|
||||
# supports 11.x but URL has a specific version number
|
||||
CUDA_MA="12"
|
||||
CUDA_MI="0"
|
||||
CUDA_V="${CUDA_MA}.${CUDA_MI}"
|
||||
|
||||
DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library"
|
||||
HOMEPAGE="https://developer.nvidia.com/cudnn"
|
||||
#SRC_URI="https://developer.download.nvidia.com/compute/redist/cudnn/v${BASE_V}/local_installers/${CUDA_V}/cudnn-linux-x86_64-${PV}_cuda${CUDA_MA}-archive.tar.xz"
|
||||
SRC_URI="cudnn-linux-x86_64-8.8.0.121_cuda12-archive.tar.xz"
|
||||
|
||||
LICENSE="NVIDIA-cuDNN"
|
||||
SLOT="0/8"
|
||||
KEYWORDS="~amd64 ~amd64-linux"
|
||||
RESTRICT="mirror fetch"
|
||||
|
||||
RDEPEND="=dev-util/nvidia-cuda-toolkit-12*"
|
||||
|
||||
QA_PREBUILT="/opt/cuda/targets/x86_64-linux/lib/*"
|
||||
|
||||
S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda${CUDA_MA}-archive"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${A} from https://developer.nvidia.com/rdp/cudnn-download"
|
||||
einfo "The archive should then be placed into your DISTDIR directory."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/cuda/targets/x86_64-linux
|
||||
doins -r include lib
|
||||
}
|
||||
8
dev-libs/cudnn/metadata.xml
Normal file
8
dev-libs/cudnn/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>sci@gentoo.org</email>
|
||||
<name>Gentoo Science Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue