summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2021-06-20 10:20:35 -0700
committerJason Zaman <perfinion@gentoo.org>2021-06-20 14:55:06 -0700
commitb3e16a53b54084d2a62e8956cb93a6183f8f43bf (patch)
tree5c04a4efec19c36414d4f3bb316d5a853601299d /dev-libs
parentdev-python/absl-py: bump 0.12.0 (diff)
downloadgentoo-b3e16a53b54084d2a62e8956cb93a6183f8f43bf.tar.gz
gentoo-b3e16a53b54084d2a62e8956cb93a6183f8f43bf.tar.bz2
gentoo-b3e16a53b54084d2a62e8956cb93a6183f8f43bf.zip
dev-libs/cudnn: bump 8.2.1
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/cudnn/Manifest2
-rw-r--r--dev-libs/cudnn/cudnn-8.2.1.32.ebuild36
-rw-r--r--dev-libs/cudnn/metadata.xml1
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/cudnn/Manifest b/dev-libs/cudnn/Manifest
index 958a5c1901ce..b8ee07b2b317 100644
--- a/dev-libs/cudnn/Manifest
+++ b/dev-libs/cudnn/Manifest
@@ -1,2 +1,4 @@
DIST cudnn-10.2-linux-x64-v8.0.5.39.tgz 706337907 BLAKE2B 1dda021f7c313b53fe6024bd7c0eccf3746a55b7399a63cf3160f2a474fd36e33273d8714dc099fed901b6be3dfac51d14033cdb0fe85c2019222127b695c9ef SHA512 867fc7ff9336656431069f01d5f59bb5da09d51dc38ba723d066a1b338646b704969a5c7595551b357b98e7d2204863d4d2b7a84708480e16dc3dbb604f26339
+DIST cudnn-10.2-linux-x64-v8.2.1.32.tgz 1006613938 BLAKE2B 2051cb6594a523ac3e4e67e43bb8f6a43baf8aff5a1059101a11303b8619a21cc620671c4d76ec3a5f1326f819096bc9162c2c772623a413b2424356f45dfedf SHA512 817dea2077e2cda7b5fb8e536d2db5db49597d8f9503ce86783c66ad6456be51c8dd3113c1485d21fac1287c46e76aba939f302506497f27f24ec3caf6436408
DIST cudnn-11.1-linux-x64-v8.0.5.39.tgz 1548325637 BLAKE2B 6c846156b3d6b2c286ea2ec639dcaf887ca172b23d98bed5227c312a4cf79381d5b81c763e6237cb57f3ad47500042cef6d454d43755110defcb6f98b6e7a28a SHA512 f704df22336376a9053a7c1f22e650beab61c6829325e0c221416f38a867180a65f9aca7a6f14f5a61c0b450d24a1dff27df47d996d3d26ff1c300b9bedaacc6
+DIST cudnn-11.3-linux-x64-v8.2.1.32.tgz 1879325034 BLAKE2B 0ffe082cd0ae6aff5897fb833054218dfb57a1b43ff420d7e95e948a763d19f38a9927026e990a3fbb3d2ce6e0194c7a3b813e3484a330b642581ba7163f9c8a SHA512 7d88846b69ca523dd2e631c7be7a7deae09c433da94e9c4167dc5e115b2c93b3256cd0e32241e2aa5c2b836d8f1097e207bc7af8bcf4e55a222c8cbf50be831b
diff --git a/dev-libs/cudnn/cudnn-8.2.1.32.ebuild b/dev-libs/cudnn/cudnn-8.2.1.32.ebuild
new file mode 100644
index 000000000000..0af221aaec39
--- /dev/null
+++ b/dev-libs/cudnn/cudnn-8.2.1.32.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library"
+HOMEPAGE="https://developer.nvidia.com/cuDNN"
+SRC_URI="
+ cuda11? ( cudnn-11.3-linux-x64-v${PV}.tgz )
+ cuda10-2? ( cudnn-10.2-linux-x64-v${PV}.tgz )"
+
+LICENSE="NVIDIA-cuDNN"
+SLOT="0/8"
+KEYWORDS="~amd64 ~amd64-linux"
+IUSE="cuda10-2 +cuda11"
+REQUIRED_USE="^^ ( cuda10-2 cuda11 )"
+RESTRICT="fetch"
+
+DEPEND="
+ cuda11? ( =dev-util/nvidia-cuda-toolkit-11* )
+ cuda10-2? ( =dev-util/nvidia-cuda-toolkit-10.2* )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+QA_PREBUILT="*"
+
+src_install() {
+ insinto /opt/cuda
+ doins cuda/NVIDIA_SLA_cuDNN_Support.txt
+
+ insinto /opt/cuda/targets/x86_64-linux
+ doins -r cuda/include
+
+ insinto /opt/cuda/targets/x86_64-linux/lib
+ doins -r cuda/lib64/.
+}
diff --git a/dev-libs/cudnn/metadata.xml b/dev-libs/cudnn/metadata.xml
index 61e3b0310e2b..b0b4c4f095d0 100644
--- a/dev-libs/cudnn/metadata.xml
+++ b/dev-libs/cudnn/metadata.xml
@@ -8,5 +8,6 @@
<use>
<flag name="cuda10-2">On nVidia CUDA 10.2.</flag>
<flag name="cuda11-1">On nVidia CUDA 11.1.</flag>
+ <flag name="cuda11">On nVidia CUDA 11.x.</flag>
</use>
</pkgmetadata>