summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-01-13 12:25:32 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-01-13 12:26:05 +0100
commit96887a3484aa798448605f8c426290b0cc4774c5 (patch)
tree1b82adf5d3ab74d4433c9e814a63b54bef7c4fcb /dev-libs/cudnn
parentsci-biology/abyss: drop version 2.0.3 (diff)
downloadgentoo-96887a3484aa798448605f8c426290b0cc4774c5.tar.gz
gentoo-96887a3484aa798448605f8c426290b0cc4774c5.tar.bz2
gentoo-96887a3484aa798448605f8c426290b0cc4774c5.zip
dev-libs/cudnn: import version 8.3.1.22 from ::sci
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-libs/cudnn')
-rw-r--r--dev-libs/cudnn/Manifest1
-rw-r--r--dev-libs/cudnn/cudnn-8.3.1.22.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/cudnn/Manifest b/dev-libs/cudnn/Manifest
index 316e315950bb..5f29bccc04e9 100644
--- a/dev-libs/cudnn/Manifest
+++ b/dev-libs/cudnn/Manifest
@@ -1,2 +1,3 @@
DIST cudnn-10.2-linux-x64-v8.3.0.98.tgz 742140405 BLAKE2B 648849c041e2e7d87a8d804a35d9e0fa1d9a454977aaec4545386ee0c8b57c502b98583a357a70b7096905f82c2a8dadc252f8b363a7975d572167f4f7f2f121 SHA512 e0c6967663bdaf0e7539b550f1aa84aaf35efe6192fc524d78f6a1bc980a79b05eeb0693e9548f4d3433864f88137ce2ff1489d7dd0e8cf883000d6c7b9a62bb
DIST cudnn-11.5-linux-x64-v8.3.0.98.tgz 1477554466 BLAKE2B cd8b7bdca8ef08af971d56b43b80f0fe721f76cb744bfef43a9369f81a2533b00651f2c89e9084026991a1cc1c6db13b55914d966b723edbfc104c3e7626a087 SHA512 46af7d47b40a2c0ee8d5b893514755f803b5a0c7426b8d88b258e71ae6312cb553cba7dd68f63e2060849c70713330d52f93f56121f663213c16030d39b2fc1d
+DIST cudnn-linux-x86_64-8.3.1.22_cuda11.5-archive.tar.xz 856769204 BLAKE2B 375021592470b1f17d7a69701f1ac3289ceb8ddbbdacf577fa51abfdad263102d3c6cedb24ac829c49e033300532e77b6064835a8ae1e05377e375f4320c9a15 SHA512 815ef678b7510e014181f3bf782e627771e8d00d218b34f2af11436b8a49331400269f98448854353c12721468365b71a8483eb7631777f0d628982e81942a8b
diff --git a/dev-libs/cudnn/cudnn-8.3.1.22.ebuild b/dev-libs/cudnn/cudnn-8.3.1.22.ebuild
new file mode 100644
index 000000000000..167d9bc667cc
--- /dev/null
+++ b/dev-libs/cudnn/cudnn-8.3.1.22.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library"
+HOMEPAGE="https://developer.nvidia.com/cudnn"
+SRC_URI="cuda11-5? ( cudnn-linux-x86_64-${PV}_cuda11.5-archive.tar.xz )"
+S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda11.5-archive"
+
+LICENSE="NVIDIA-cuDNN"
+SLOT="0/8"
+KEYWORDS="~amd64 ~amd64-linux"
+IUSE="+cuda11-5"
+REQUIRED_USE="^^ ( cuda11-5 )"
+RESTRICT="fetch"
+
+RDEPEND="
+ cuda11-5? ( =dev-util/nvidia-cuda-toolkit-11.5* )"
+
+QA_PREBUILT="*"
+
+src_install() {
+ insinto /opt/cuda/targets/x86_64-linux
+ doins -r include
+
+ insinto /opt/cuda/targets/x86_64-linux/lib
+ doins -r lib/.
+}