cudnn: remove in Gentoo's favour

This commit is contained in:
Anton Bolshakov 2023-12-14 13:09:29 +08:00 committed by Anton Bolshakov
parent 7e32bfedc6
commit 3b24e2c65c
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
5 changed files with 0 additions and 128 deletions

View file

@ -1,3 +0,0 @@
DIST cudnn-linux-x86_64-8.8.0.121_cuda12-archive.tar.xz 871089052 BLAKE2B 48f4142d7fea4192e4a910807fa7344c75372aa0d4a68e020416de960eb4b344262551e374b26cdd323751c3c75a000c63a326ece6f801a6ddfbfe06fe51ee6c SHA512 ffdbc1ca4fb03c6906b6896763790ca288aba098e50ed2fbf33a2b994a09386bc6fb5ec9a3a49a82be494331f43c85e22fa406575c4fddb30246f32ee85660e7
DIST cudnn-linux-x86_64-8.9.2.26_cuda12-archive.tar.xz 903819128 BLAKE2B 77fd3b6bb60ee11d9e876548c8641b9a6eb347b7864048145d40533918b480c6515701416607760c102308c9b1f59e04adc19ef58c7ecde31a5ad16c8b30cf98 SHA512 e46a6abc348fe814f33c29d1596a4ec5a8041b61d9dc2b083b17f153a693a2493886288a43b3d8f682688da6d3a6f0a769cbe78b2b5570cf8009a195f7fe0ff4
DIST cudnn-linux-x86_64-8.9.3.28_cuda12-archive.tar.xz 898057728 BLAKE2B fc0f330e7e2872f381f09d0de7c7db4610dd531293908c56d2c85dfcaf639757ecb4d8b7f8bb9e8d27e6315511497e27d439f88d17403231dc93c68fb0fec8ab SHA512 4c345ece93034fabd84b39767455ccc4b01d1361c1e429ef060de97f3be1c131252ce1cec8cac46a3430b5ffbe67722f075ad8622f8fa04897a4378cc74a1bb0

View file

@ -1,38 +0,0 @@
# 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
}

View file

@ -1,39 +0,0 @@
# Copyright 1999-2023 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"
#https://developer.nvidia.com/downloads/compute/cudnn/secure/8.9.2/local_installers/12.x/cudnn-linux-x86_64-8.9.2.26_cuda12-archive.tar.xz/
SRC_URI="amd64? ( cudnn-linux-x86_64-${PV}_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
}

View file

@ -1,40 +0,0 @@
# Copyright 1999-2023 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"
#https://developer.nvidia.com/downloads/compute/cudnn/secure/8.9.2/local_installers/12.x/cudnn-linux-x86_64-8.9.2.26_cuda12-archive.tar.xz/
SRC_URI="amd64? ( cudnn-linux-x86_64-${PV}_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() {
#https://developer.nvidia.com/rdp/cudnn-archive
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
}

View file

@ -1,8 +0,0 @@
<?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>