1 |
commit: 4c1898ef938295052f811ad140c326e698cc4a38 |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 14:21:12 2022 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 26 02:37:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1898ef |
7 |
|
8 |
dev-libs/cudnn: add 8.4.1.50 |
9 |
|
10 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
11 |
|
12 |
dev-libs/cudnn/Manifest | 1 + |
13 |
dev-libs/cudnn/cudnn-8.4.1.50.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/cudnn/Manifest b/dev-libs/cudnn/Manifest |
17 |
index e25480bbc73e..282a777ebb27 100644 |
18 |
--- a/dev-libs/cudnn/Manifest |
19 |
+++ b/dev-libs/cudnn/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST cudnn-linux-x86_64-8.3.1.22_cuda11.5-archive.tar.xz 856769204 BLAKE2B 375021592470b1f17d7a69701f1ac3289ceb8ddbbdacf577fa51abfdad263102d3c6cedb24ac829c49e033300532e77b6064835a8ae1e05377e375f4320c9a15 SHA512 815ef678b7510e014181f3bf782e627771e8d00d218b34f2af11436b8a49331400269f98448854353c12721468365b71a8483eb7631777f0d628982e81942a8b |
22 |
DIST cudnn-linux-x86_64-8.3.2.44_cuda11.5-archive.tar.xz 857894928 BLAKE2B 7f0f4fe4d8ccd2e7385d5c4535f4543b3d8e80f65caa5a4d5fdaa1b386a76fe16d8d9e32745a098954eda8d0b803af6146c1ffc5b46c838ea0ccecd5923984cf SHA512 4f2159e48685613b436adb3995aa80cf6d5b395c146059ccc15ef2f5f7e47c94bfeebd14b09d8832f7df76d2379829aa32edb7b69852e17a8e7036084265ed39 |
23 |
+DIST cudnn-linux-x86_64-8.4.1.50_cuda11.6-archive.tar.xz 850711772 BLAKE2B 47e03d7a25f92cb2e2793e7d13b6182da62329a7868a785ca2224bccfc97960721fba26e1e8a933e8d449085e895c129871bb2fd7c690265d01ad10564a1b939 SHA512 bf2069edf5c73db325d4ef27e3976169b9bd32afc49f012bd1e6f7d9bd374179dd9312538e7be7b0f8d5da0f2edd79b6788868e183f00f8b99fda185302d07c3 |
24 |
|
25 |
diff --git a/dev-libs/cudnn/cudnn-8.4.1.50.ebuild b/dev-libs/cudnn/cudnn-8.4.1.50.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..1950bc260e46 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/cudnn/cudnn-8.4.1.50.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+BASE_V="$(ver_cut 0-3)" |
37 |
+# supports 11.x but URL has a specific version number |
38 |
+CUDA_V="11.6" |
39 |
+ |
40 |
+DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library" |
41 |
+HOMEPAGE="https://developer.nvidia.com/cudnn" |
42 |
+SRC_URI="https://developer.download.nvidia.com/compute/redist/cudnn/v${BASE_V}/local_installers/${CUDA_V}/cudnn-linux-x86_64-${PV}_cuda${CUDA_V}-archive.tar.xz" |
43 |
+S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda${CUDA_V}-archive" |
44 |
+ |
45 |
+LICENSE="NVIDIA-cuDNN" |
46 |
+SLOT="0/8" |
47 |
+KEYWORDS="~amd64 ~amd64-linux" |
48 |
+IUSE="" |
49 |
+RESTRICT="mirror" |
50 |
+ |
51 |
+RDEPEND="=dev-util/nvidia-cuda-toolkit-11*" |
52 |
+ |
53 |
+QA_PREBUILT="*" |
54 |
+ |
55 |
+src_install() { |
56 |
+ insinto /opt/cuda/targets/x86_64-linux |
57 |
+ doins -r include |
58 |
+ |
59 |
+ insinto /opt/cuda/targets/x86_64-linux/lib |
60 |
+ doins -r lib/. |
61 |
+} |