From: "Marius Brehler" <marbre@linux.sungazer.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
Date: Mon, 30 May 2016 08:11:34 +0000 (UTC) [thread overview]
Message-ID: <1464595776.740b9eb9229aad32bad485be9341b3b3829c437b.marbre@gentoo> (raw)
commit: 740b9eb9229aad32bad485be9341b3b3829c437b
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon May 30 08:09:02 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon May 30 08:09:36 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=740b9eb9
dev-util/nvidia-cuda-gdk: Version bump; Bump to EAPI=6
Package-Manager: portage-2.2.28
.../nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild | 191 +++++++++++++++++++++
1 file changed, 191 insertions(+)
diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild
new file mode 100644
index 0000000..0263db0
--- /dev/null
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild
@@ -0,0 +1,191 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils portability toolchain-funcs unpacker versionator
+
+MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
+
+HEALTMON_PV="${PV}"
+NVVS_PV="${PV}"
+
+DESCRIPTION="NVIDIA GPU Deployment Kit"
+HOMEPAGE="http://developer.nvidia.com/cuda"
+SRC_URI="http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_${MYD}_gdk_linux.run"
+
+LICENSE="NVIDIA-gdk"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="+healthmon +nvml +doc examples +nvvs"
+
+RDEPEND="
+ >=dev-util/nvidia-cuda-toolkit-7.5
+ media-libs/freeglut
+ examples? ( >=x11-drivers/nvidia-drivers-352.79[uvm] )
+ nvvs? (
+ >=x11-drivers/nvidia-drivers-352.79[uvm]
+ <x11-drivers/nvidia-drivers-355.00[uvm]
+ )
+ "
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/payload"
+
+QA_PREBUILT="/opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon
+ /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon-tests/gpu_rdma_bw
+ /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon-tests/ibv_rdma_bw
+ /opt/cuda/gdk/nvml/lib/libnvidia-ml.so.1
+ /opt/cuda/gdk/nvvs/plugins/libPcie.so.1
+ /opt/cuda/gdk/nvvs/plugins/libSmPerformance.so.1
+ /opt/cuda/gdk/nvvs/plugins/libPerformance.so
+ /opt/cuda/gdk/nvvs/plugins/libPower.so.1
+ /opt/cuda/gdk/nvvs/plugins/libMemory.so.1
+ /opt/cuda/gdk/nvvs/plugins/libPerformance.so.1
+ /opt/cuda/gdk/nvvs/plugins/libDeployment.so.1
+ /opt/cuda/gdk/nvvs/plugins/libSmPerformance.so
+ /opt/cuda/gdk/nvvs/plugins/libPower.so
+ /opt/cuda/gdk/nvvs/nvvs
+ "
+
+src_unpack() {
+ unpacker
+}
+
+src_compile() {
+ use examples || return
+ cd "${S}"/nvml/example || die
+ default
+}
+
+src_install() {
+ local i j f t
+
+ if use doc; then
+ if use healthmon ; then
+ ebegin "Installing healthmon docs..."
+ doman nvidia-healthmon/docs/man/man8/nvidia-healthmon.8
+ cd "${S}/nvidia-healthmon/nvidia-healthmon-amd64-${HEALTMON_PV}" || die
+ treecopy \
+ $(find -type f \( -name README.txt -name COPYING.txt -o -name "*.pdf" \)) \
+ "${ED}"/usr/share/doc/${PF}/nvidia-healthmon/
+ docompress -x \
+ $(find "${ED}"/usr/share/doc/${PF}/nvidia-healthmon/ -type f -name readme.txt | sed -e "s:${ED}::")
+ cd "${S}/" || die
+ eend
+ fi
+
+ if use nvml ; then
+ ebegin "Installing nvml docs..."
+ doman nvml/doc/man/man3/*.3
+ cd "${S}/nvml/" || die
+ treecopy \
+ $(find -type f \( -name README.txt -name COPYRIGHT.txt -o -name "*.pdf" \)) \
+ "${ED}"/usr/share/doc/${PF}/nvml/
+ docompress -x \
+ $(find "${ED}"/usr/share/doc/${PF}/nvml/ -type f -name readme.txt | sed -e "s:${ED}::")
+ cd "${S}/" || die
+ eend
+ fi
+
+ if use nvvs ; then
+ ebegin "Installing validation suite docs..."
+ dodoc "nvidia-validation-suite/nvidia-validation-suite-amd64-${NVVS_PV}/docs/NVIDIA_Validation_Suite_User_Guide.pdf"
+ doman "nvidia-validation-suite/nvidia-validation-suite-amd64-${NVVS_PV}/docs/man/man8/nvvs.8"
+ eend
+ fi
+
+ fi
+
+ ebegin "Cleaning before installation..."
+ find -type f \
+ \( -name "*.o" -o -name "*.pdf" -o -name "*.txt" -o -name "*.3" -o -name "*.8" \) -delete \
+ || die
+ rm -f "${S}"/nvml/lib/libnvidia-ml.so
+ rm -f "${S}/nvidia-validation-suite/nvidia-validation-suite-amd64-${NVVS_PV}/plugins"/libDeployment.so
+ rm -f "${S}/nvidia-validation-suite/nvidia-validation-suite-amd64-${NVVS_PV}/plugins"/libMemory.so
+ rm -f "${S}/nvidia-validation-suite/nvidia-validation-suite-amd64-${NVVS_PV}/plugins"/libPcie.so
+ rm -f "${S}/nvidia-validation-suite/nvidia-validation-suite-amd64-${NVVS_PV}/plugins"/libPerformance.so
+ rm -f "${S}/nvidia-validation-suite/nvidia-validation-suite-amd64-${NVVS_PV}/plugins"/libPower.so
+ rm -f "${S}/nvidia-validation-suite/nvidia-validation-suite-amd64-${NVVS_PV}/plugins"/libSmPerformance.so
+ rm -f "${S}/nvidia-validation-suite/nvidia-validation-suite-amd64-${NVVS_PV}"/nvidia-vs
+ eend
+
+ if use healthmon; then
+ ebegin "Installing nvidia-healthmon"
+ exeinto /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon-tests/
+ doexe "nvidia-healthmon/nvidia-healthmon-amd64-${HEALTMON_PV}/bin"/{*,*.*}
+ exeinto /opt/cuda/gdk/nvidia-healthmon/
+ doexe "nvidia-healthmon/nvidia-healthmon-amd64-${HEALTMON_PV}"/nvidia-healthmon
+ insinto /etc/nvidia-healthmon/
+ doins "nvidia-healthmon/nvidia-healthmon-amd64-${HEALTMON_PV}"/nvidia-healthmon.conf
+
+ # install launch script
+ exeinto /opt/bin
+ doexe "${FILESDIR}"/nvidia-healthmon
+ eend
+ fi
+
+ if use nvml; then
+ ebegin "Installing nvml"
+ cd "${S}/nvml" || die
+ for f in $(find .); do
+ local t="$(dirname ${f})"
+ if [[ "${t/obj\/}" != "${t}" || "${t##*.}" == "a" ]]; then
+ continue
+ fi
+
+ if [[ ! -d "${f}" ]]; then
+ if [[ -x "${f}" ]]; then
+ exeinto "/opt/cuda/gdk/nvml/${t}"
+ doexe "${f}"
+ else
+ insinto "/opt/cuda/gdk/nvml/${t}"
+ doins "${f}"
+ fi
+ fi
+ done
+
+ dosym libnvidia-ml.so.1 /opt/cuda/gdk/nvml/lib/libnvidia-ml.so
+ cd "${S}/" || die
+ eend
+ fi
+
+ if use nvvs; then
+ ebegin "Installing validation suite"
+ cd "${S}/nvidia-validation-suite/nvidia-validation-suite-amd64-${NVVS_PV}/" || die
+
+ insinto /etc/nvidia-validation-suite/
+ doins nvvs.conf
+ rm nvvs.conf || die
+
+ for f in $(find .); do
+ local t="$(dirname ${f})"
+ if [[ "${t/obj\/}" != "${t}" || "${t##*.}" == "a" ]]; then
+ continue
+ fi
+
+ if [[ ! -d "${f}" ]]; then
+ if [[ -x "${f}" ]]; then
+ exeinto "/opt/cuda/gdk/nvvs/${t}"
+ doexe "${f}"
+ else
+ insinto "/opt/cuda/gdk/nvvs/${t}"
+ doins "${f}"
+ fi
+ fi
+ done
+
+ dosym libDeployment.so.1 /opt/cuda/gdk/nvvs/plugins/libDeployment.so
+ dosym libMemory.so.1 /opt/cuda/gdk/nvvs/plugins/libMemory.so
+ dosym libPcie.so.1 /opt/cuda/gdk/nvvs/plugins/libPcie.so
+ dosym libPerformance.so.1 /opt/cuda/gdk/nvvs/plugins/libPerformance.so
+ dosym libPower.so.1 /opt/cuda/gdk/nvvs/plugins/libPower.so
+ dosym libSmPerformance.so.1 /opt/cuda/gdk/nvvs/plugins/libSmPerformance.so
+
+ dosym /opt/cuda/gdk/nvvs/nvvs /opt/bin/nvidia-vs
+ cd "${S}/" || die
+ eend
+ fi
+}
next reply other threads:[~2016-05-30 8:11 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 8:11 Marius Brehler [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-10-27 16:05 [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/ Justin Lecher
2017-11-18 19:49 Justin Lecher
2015-09-23 12:48 Justin Lecher
2015-09-13 18:34 Justin Lecher
2015-07-23 21:06 Jauhien Piatlicki
2015-03-20 4:31 Christoph Junghans
2015-02-02 12:06 Justin Lecher
2015-01-22 0:09 Christoph Junghans
2015-01-19 17:59 Justin Lecher
2014-12-01 9:28 Justin Lecher
2014-11-30 13:34 Justin Lecher
2014-11-30 13:34 Justin Lecher
2014-11-24 16:20 Christoph Junghans
2014-11-19 8:30 Justin Lecher
2014-11-19 8:30 Justin Lecher
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=1464595776.740b9eb9229aad32bad485be9341b3b3829c437b.marbre@gentoo \
--to=marbre@linux.sungazer.de \
--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