public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cudnn/
Date: Fri, 21 Feb 2020 08:13:24 +0000 (UTC)	[thread overview]
Message-ID: <1582272789.56fdc21add4251167a138aebf94bed493a5b2f90.heroxbd@gentoo> (raw)

commit:     56fdc21add4251167a138aebf94bed493a5b2f90
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 20 08:37:45 2020 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Feb 21 08:13:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56fdc21a

dev-libs/cudnn: Introduce use flags for CUDA versions.

Suggested-By: Amlesh Sivanantham, Daniel M. Weeks
Closes: https://bugs.gentoo.org/658118
Package-Manager: Portage-2.3.88, Repoman-2.3.18
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-libs/cudnn/Manifest                 |  1 +
 dev-libs/cudnn/cudnn-7.6.5.32-r1.ebuild | 36 +++++++++++++++++++++++++++++++++
 dev-libs/cudnn/metadata.xml             |  4 ++++
 3 files changed, 41 insertions(+)

diff --git a/dev-libs/cudnn/Manifest b/dev-libs/cudnn/Manifest
index 104de1f6996..c9ddcf69d05 100644
--- a/dev-libs/cudnn/Manifest
+++ b/dev-libs/cudnn/Manifest
@@ -4,6 +4,7 @@ DIST cudnn-10.1-linux-x64-v7.5.0.56.tgz 471291852 BLAKE2B 966a84e983631c827d7852
 DIST cudnn-10.1-linux-x64-v7.6.0.64.tgz 500810447 BLAKE2B cfe884dd3b2a5ca4641844a0b5df22420148bcd9092b9ad81a45560f901d36e3ab228e7b5fed85519094f4b68be46cbb631368d67166cbef2546b94185a9058d SHA512 c8d2c6efdb79940f5d475057b1e11246038b894990f58a620635e03d561ec3987806c0bccee8c12d0d3d8c4b5bf5211e46faa2c12918520af61f36bd36eb1738
 DIST cudnn-10.1-linux-x64-v7.6.1.34.tgz 521806738 BLAKE2B 9804ed394cf58f0c415d454ce83503db3faff74181e3746eabbae648cf85718ccfdcc1b64877e30e367a285294665975169fe1f992c27ac12b65d340784079a8 SHA512 81dc9a3d07885996b3b7141ea9785768dd6e266d138a671b934139b38ac1dcab0ffdb97617b308a9f492b5b163cb4dd65972e24de98499a2ecbed2bd261c1244
 DIST cudnn-10.1-linux-x64-v7.6.2.24.tgz 522872521 BLAKE2B 6424ade8443521138b36bb528105bc482202ff475dd3eb3aaa7f992e8ad8b67628ac1b464d10056f16bb5766fb8464abe8ae406f8766831d248b90796d146c1e SHA512 3451c113b4dcb8aaa33b2740e0e0b60d121ef02525c4e8ece3d7afd76b3472f704a90eb69d1a06f2bc94a981c2bfa3bea2f3bd057dcbdc6eecdea1056563057d
+DIST cudnn-10.1-linux-x64-v7.6.5.32.tgz 523418497 BLAKE2B 28febb24382d411faa870cd42e999431d1ee1d083c09903ee4a8f5bee676981c60f6daf6cd256978db69345397db743a7a6f6187376520f5c4f968f6177e0201 SHA512 1073bc42c2c36fce6b710882a04a4035d66d95c410200b9d50953e993d7b801cc3a837e42843ad2447e62ea5dfc8ba22c8a803464716c56ffb811aa278645771
 DIST cudnn-10.2-linux-x64-v7.6.5.32.tgz 548210361 BLAKE2B 51fdd14f0bbc5a029bddca94ab7ae56ee77c16fdc525c78b986bb3dc1e0525943e5ab17eb81e356ef92c985ee467bd87a6670c343a96136d932ace86bb649437 SHA512 943c1afc0b7711dec87931770eaa567e25361a31ed5e1edabcc3f81df72880428611308e8032a28dc197e8c5edfebe3f67cc9d22a21eb569d8b254d8eb84eac6
 DIST cudnn-8.0-linux-x64-v6.0.tgz 201134139 BLAKE2B a7e616c671272a3a0f0c51b93646c8c60302c3dec85b71144e011bc3460d0ce80ff75d39869c05c4ef183d2d09aff31bb470a3fd3fd3d79b581a7a2d5a349279 SHA512 ddeeacb5b449920d942a26b98c353d78fd6f7d7fb3b3ce42a078626473efdda25c7ae641232702d62eb5749e39ecfd03e88346119c920c19348ac3ee82d3ff47
 DIST cudnn-9.1-linux-x64-v7.tgz 343081241 BLAKE2B 22c2fbef38a05e7929ccc28410dfdbff906b2c3e97e0419cf83988c2fc2340005e4a944d43b1a215b0c3458b2cad03480b7e537ae93861924c28ec1010a530fb SHA512 7eadb64a3d5e49aec2761e6f7dc0295c1d356910b114eed450c47081fc81b6e3b7748f3a4153f6a9d957691e3689cd52823bfa12816b1950dfc8794d6f332749

diff --git a/dev-libs/cudnn/cudnn-7.6.5.32-r1.ebuild b/dev-libs/cudnn/cudnn-7.6.5.32-r1.ebuild
new file mode 100644
index 00000000000..403e64d9e5f
--- /dev/null
+++ b/dev-libs/cudnn/cudnn-7.6.5.32-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 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="cuda10_2? ( cudnn-10.2-linux-x64-v${PV}.tgz )
+	cuda10_1? ( cudnn-10.1-linux-x64-v${PV}.tgz )"
+
+SLOT="0/7"
+KEYWORDS="~amd64 ~amd64-linux"
+RESTRICT="fetch"
+LICENSE="NVIDIA-cuDNN"
+QA_PREBUILT="*"
+
+IUSE="+cuda10_2 cuda10_1"
+REQUIRED_USE="^^ ( cuda10_2 cuda10_1 )"
+
+S="${WORKDIR}"
+
+DEPEND="cuda10_2? ( =dev-util/nvidia-cuda-toolkit-10.2* )
+	cuda10_1? ( =dev-util/nvidia-cuda-toolkit-10.1* )"
+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*/*
+}

diff --git a/dev-libs/cudnn/metadata.xml b/dev-libs/cudnn/metadata.xml
index 8425c0d53cb..5986e2a043f 100644
--- a/dev-libs/cudnn/metadata.xml
+++ b/dev-libs/cudnn/metadata.xml
@@ -5,4 +5,8 @@
     <email>sci@gentoo.org</email>
     <name>Gentoo Science Project</name>
   </maintainer>
+  <use>
+    <flag name="cuda10_2">On nVidia CUDA 10.2.</flag>
+    <flag name="cuda10_1">On nVidia CUDA 10.1.</flag>
+  </use>
 </pkgmetadata>


             reply	other threads:[~2020-02-21  8:13 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-21  8:13 Benda XU [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-11  8:43 [gentoo-commits] repo/gentoo:master commit in: dev-libs/cudnn/ Andrew Ammerlaan
2022-11-19  4:48 David Seifert
2022-10-17  9:18 David Seifert
2022-06-26  2:45 Jason Zaman
2022-03-04 11:38 Andrew Ammerlaan
2022-01-13 11:26 Andrew Ammerlaan
2021-12-20 10:57 David Seifert
2021-11-15 17:52 Jason Zaman
2021-09-24  9:26 David Seifert
2021-09-21 16:55 David Seifert
2021-09-21 16:50 David Seifert
2021-06-20 21:56 Jason Zaman
2020-12-27 21:10 David Seifert
2020-12-25 23:42 Jason Zaman
2020-10-24  8:38 Jason Zaman
2020-07-20 13:01 Joonas Niilola
2020-07-20 13:01 Joonas Niilola
2020-02-21 21:04 David Seifert
2019-12-02 14:50 Jason Zaman
2019-08-05  4:04 Jason Zaman
2019-06-27 19:33 Guilherme Amadio
2019-06-27 11:58 Guilherme Amadio
2019-06-24 13:28 Jason Zaman
2019-04-05 15:41 Jason Zaman
2019-01-15 23:13 Patrice Clement
2018-11-30 15:26 Jason Zaman
2018-06-26 16:53 Jason Zaman
2018-01-08 16:35 Patrice Clement
2017-12-17  3:17 Ulrich Müller
2017-07-27 18:51 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1582272789.56fdc21add4251167a138aebf94bed493a5b2f90.heroxbd@gentoo \
    --to=heroxbd@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox