dev-libs/cudnn: initial import
authorSébastien Fabbro <bicatali@gentoo.org>
Thu, 27 Jul 2017 18:50:18 +0000 (18:50 +0000)
committerSébastien Fabbro <bicatali@gentoo.org>
Thu, 27 Jul 2017 18:50:41 +0000 (18:50 +0000)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

dev-libs/cudnn/Manifest [new file with mode: 0644]
dev-libs/cudnn/cudnn-6.0.ebuild [new file with mode: 0644]
dev-libs/cudnn/metadata.xml [new file with mode: 0644]

diff --git a/dev-libs/cudnn/Manifest b/dev-libs/cudnn/Manifest
new file mode 100644 (file)
index 0000000..9640179
--- /dev/null
@@ -0,0 +1 @@
+DIST cudnn-8.0-linux-x64-v6.0.tgz 201134139 SHA256 9b09110af48c9a4d7b6344eb4b3e344daa84987ed6177d5c44319732f3bb7f9c SHA512 ddeeacb5b449920d942a26b98c353d78fd6f7d7fb3b3ce42a078626473efdda25c7ae641232702d62eb5749e39ecfd03e88346119c920c19348ac3ee82d3ff47 WHIRLPOOL 363679f192130201e3140ec5e15ab01ce0ef1f6c4cbefca0ab8a4ebe1676489184c4d36adcc282c31cca8791ef452965d0ae87bff16859c0fee9d01de38b8d1e
diff --git a/dev-libs/cudnn/cudnn-6.0.ebuild b/dev-libs/cudnn/cudnn-6.0.ebuild
new file mode 100644 (file)
index 0000000..233215c
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CUDA_PV=8.0
+
+DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library"
+HOMEPAGE="https://developer.nvidia.com/cuDNN"
+SRC_URI="cudnn-${CUDA_PV}-linux-x64-v${PV}.tgz"
+
+SLOT="0/6"
+KEYWORDS="~amd64 ~amd64-linux"
+RESTRICT="fetch"
+LICENSE="NVIDIA-cuDNN"
+
+S="${WORKDIR}"
+
+DEPENDS="=dev-util/nvidia-cuda-toolkit-${CUDA_PV}*"
+RDEPENDS="${DEPENDS}"
+
+src_install() {
+       insinto /opt
+       doins -r *
+}
diff --git a/dev-libs/cudnn/metadata.xml b/dev-libs/cudnn/metadata.xml
new file mode 100644 (file)
index 0000000..8425c0d
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="project">
+    <email>sci@gentoo.org</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+</pkgmetadata>