diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
commit | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (patch) | |
tree | f2cbbaa8bb9209cd15208721103228336149b799 /dev-libs/cudnn/cudnn-7.6.0.64.ebuild | |
parent | 7a86906b67693cc65671d3e1476835d3a7e13092 (diff) |
gentoo resync : 30.06.2019
Diffstat (limited to 'dev-libs/cudnn/cudnn-7.6.0.64.ebuild')
-rw-r--r-- | dev-libs/cudnn/cudnn-7.6.0.64.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-libs/cudnn/cudnn-7.6.0.64.ebuild b/dev-libs/cudnn/cudnn-7.6.0.64.ebuild new file mode 100644 index 000000000000..2f134235f5ae --- /dev/null +++ b/dev-libs/cudnn/cudnn-7.6.0.64.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CUDA_PV=10.1 + +DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library" +HOMEPAGE="https://developer.nvidia.com/cuDNN" + +MY_PV_MAJOR=$(ver_cut 1-2) +SRC_URI="cudnn-${CUDA_PV}-linux-x64-v${PV}.tgz" + +SLOT="0/7" +KEYWORDS="~amd64 ~amd64-linux" +RESTRICT="fetch" +LICENSE="NVIDIA-cuDNN" +QA_PREBUILT="*" + +S="${WORKDIR}" + +DEPEND="=dev-util/nvidia-cuda-toolkit-${CUDA_PV}*" +RDEPEND="${DEPEND}" + +src_install() { + insinto /opt/cuda + doins cuda/NVIDIA_SLA_cuDNN_Support.txt + + insinto /opt/cuda/targets/x86_64-linux/include + doins -r cuda/include/* + + insinto /opt/cuda/targets/x86_64-linux/lib + doins -r cuda/lib*/* +} |