summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/cudnn/cudnn-8.3.2.44.ebuild')
-rw-r--r--dev-libs/cudnn/cudnn-8.3.2.44.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/cudnn/cudnn-8.3.2.44.ebuild b/dev-libs/cudnn/cudnn-8.3.2.44.ebuild
new file mode 100644
index 000000000000..167d9bc667cc
--- /dev/null
+++ b/dev-libs/cudnn/cudnn-8.3.2.44.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/.
+}