public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2014-11-19  8:30 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2014-11-19  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     cb575cc4702e0d0fef52b293ace5ba71b3b0804c
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Nov 18 16:04:23 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Nov 18 16:04:23 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cb575cc4

Fix die usage in nvidia-cuda-gdk

---
 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
index 080f8e9..a11c79b 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
@@ -37,7 +37,7 @@ src_unpack() {
 src_compile() {
 	use examples || return
 	cd "${S}"/nvml/example || die
-	emake || die
+	emake
 }
 
 src_install() {
@@ -47,10 +47,10 @@ src_install() {
 		if use healthmon ; then
 			ebegin "Installing healthmon docs..."
 				doman nvidia-healthmon/docs/man/man8/nvidia-healthmon.8
-				cd "${S}/nvidia-healthmon/nvidia-healthmon-amd64-${PV}"
+				cd "${S}/nvidia-healthmon/nvidia-healthmon-amd64-${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}/"
+				cd "${S}/" || die
 			eend
 		fi
 


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2014-11-19  8:30 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2014-11-19  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     8800be09d1a4420ae05a79b41ce66eacb20b0d53
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Nov 18 13:41:02 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Nov 18 13:41:02 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8800be09

Fix nvidia-cuda-gdk

---
 .../nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild  | 75 +++++++++++-----------
 1 file changed, 36 insertions(+), 39 deletions(-)

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
index f5f50f8..080f8e9 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit eutils toolchain-funcs portability unpacker versionator
+inherit eutils portability toolchain-funcs unpacker versionator
 
 MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
 
@@ -21,10 +21,9 @@ KEYWORDS="~amd64"
 IUSE="+healthmon +nvml +doc examples"
 
 RDEPEND="
->=dev-util/nvidia-cuda-toolkit-6.5
-examples? ( >=x11-drivers/nvidia-drivers-340.32[uvm] )
-media-libs/freeglut
-"
+	>=dev-util/nvidia-cuda-toolkit-6.5
+	examples? ( >=x11-drivers/nvidia-drivers-340.32[uvm] )
+	media-libs/freeglut"
 DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/payload"
@@ -37,13 +36,11 @@ src_unpack() {
 
 src_compile() {
 	use examples || return
-	cd "${S}"/nvml/example
+	cd "${S}"/nvml/example || die
 	emake || die
 }
 
 src_install() {
-	cd "${S}/"
-
 	local i j f t
 
 	if use doc; then
@@ -60,10 +57,10 @@ src_install() {
 		if use healthmon ; then
 			ebegin "Installing nvml docs..."
 				doman nvml/doc/man/man3/*.3
-				cd "${S}/nvml/"
+				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}/"
+				cd "${S}/" || die
 			eend
 		fi
 	fi
@@ -74,40 +71,40 @@ src_install() {
 
 	if use healthmon; then
 		ebegin "Installing nvidia-healthmon"
-		exeinto "/opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon-tests/"
-		doexe "nvidia-healthmon/nvidia-healthmon-amd64-${PV}/bin"/gpu_rdma_bw
-		doexe "nvidia-healthmon/nvidia-healthmon-amd64-${PV}/bin"/ibv_rdma_bw
-		doexe "nvidia-healthmon/nvidia-healthmon-amd64-${PV}/bin"/rdma_test.sh
-		exeinto "/opt/cuda/gdk/nvidia-healthmon/"
-		doexe "nvidia-healthmon/nvidia-healthmon-amd64-${PV}"/nvidia-healthmon
-		insinto "/etc/nvidia-healthmon/"
-		doins "nvidia-healthmon/nvidia-healthmon-amd64-${PV}"/nvidia-healthmon.conf
-
-		# install launch script
-		exeinto /opt/bin
-		doexe "${FILESDIR}"/nvidia-healthmon
+			exeinto "/opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon-tests/"
+			doexe "nvidia-healthmon/nvidia-healthmon-amd64-${PV}/bin"/{*,*.*}
+			exeinto "/opt/cuda/gdk/nvidia-healthmon/"
+			doexe "nvidia-healthmon/nvidia-healthmon-amd64-${PV}"/nvidia-healthmon
+			insinto "/etc/nvidia-healthmon/"
+			doins "nvidia-healthmon/nvidia-healthmon-amd64-${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"
-		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}"
+			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
-			fi
-		done
-		cd "${S}/"
+			done
+			cd "${S}/" || die
+		eend
 	fi
 
 }


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2014-11-24 16:20 Christoph Junghans
  0 siblings, 0 replies; 16+ messages in thread
From: Christoph Junghans @ 2014-11-24 16:20 UTC (permalink / raw
  To: gentoo-commits

commit:     664673fd5daf989c14a27fbd0e4f32a6c1863094
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Wed Nov 19 11:29:26 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Nov 19 11:29:26 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=664673fd

nvidia-cuda-gdk: Add ~x86 keyword

---
 dev-util/nvidia-cuda-gdk/ChangeLog                    |  4 ++++
 .../nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild     | 19 +++++++++++++------
 2 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/dev-util/nvidia-cuda-gdk/ChangeLog b/dev-util/nvidia-cuda-gdk/ChangeLog
index 6e289bb..58f8973 100644
--- a/dev-util/nvidia-cuda-gdk/ChangeLog
+++ b/dev-util/nvidia-cuda-gdk/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  19 Nov 2014; Marius Brehler <marbre@linux.sungazer.de>
+  nvidia-cuda-gdk-340.29.ebuild:
+  Add ~x86 keyword
+
 *nvidia-cuda-gdk-340.29 (18 Nov 2014)
 
   18 Nov 2014; Marius Brehler <marbre@linux.sungazer.de>

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
index a11c79b..54ec87a 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="NVIDIA-gdk"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE="+healthmon +nvml +doc examples"
 
 RDEPEND="
@@ -41,13 +41,20 @@ src_compile() {
 }
 
 src_install() {
-	local i j f t
+	local i j f t ARCH
+	if use amd64; then
+		ARCH=amd64;
+	elif use x86; then
+		ARCH=x86;
+	else
+		die;
+	fi
 
 	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-${PV}" || die
+				cd "${S}/nvidia-healthmon/nvidia-healthmon-${ARCH}-${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
@@ -72,11 +79,11 @@ src_install() {
 	if use healthmon; then
 		ebegin "Installing nvidia-healthmon"
 			exeinto "/opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon-tests/"
-			doexe "nvidia-healthmon/nvidia-healthmon-amd64-${PV}/bin"/{*,*.*}
+			doexe "nvidia-healthmon/nvidia-healthmon-${ARCH}-${PV}/bin"/{*,*.*}
 			exeinto "/opt/cuda/gdk/nvidia-healthmon/"
-			doexe "nvidia-healthmon/nvidia-healthmon-amd64-${PV}"/nvidia-healthmon
+			doexe "nvidia-healthmon/nvidia-healthmon-${ARCH}-${PV}"/nvidia-healthmon
 			insinto "/etc/nvidia-healthmon/"
-			doins "nvidia-healthmon/nvidia-healthmon-amd64-${PV}"/nvidia-healthmon.conf
+			doins "nvidia-healthmon/nvidia-healthmon-${ARCH}-${PV}"/nvidia-healthmon.conf
 
 			# install launch script
 			exeinto /opt/bin


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2014-11-30 13:34 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2014-11-30 13:34 UTC (permalink / raw
  To: gentoo-commits

commit:     6f64700340fd68f62884a20154dbb043f24f5bc6
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Nov 30 12:37:00 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Nov 30 12:37:00 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6f647003

dev-util/nvidia-cuda-gdk: Fix symlink

---
 dev-util/nvidia-cuda-gdk/ChangeLog                     | 4 ++++
 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/dev-util/nvidia-cuda-gdk/ChangeLog b/dev-util/nvidia-cuda-gdk/ChangeLog
index 58f8973..6d816c8 100644
--- a/dev-util/nvidia-cuda-gdk/ChangeLog
+++ b/dev-util/nvidia-cuda-gdk/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  30 Nov 2014; Marius Brehler <marbre@linux.sungazer.de>
+  nvidia-cuda-gdk-340.29.ebuild:
+  Fix symlink
+
   19 Nov 2014; Marius Brehler <marbre@linux.sungazer.de>
   nvidia-cuda-gdk-340.29.ebuild:
   Add ~x86 keyword

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
index 54ec87a..4853f3c 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
@@ -74,6 +74,7 @@ src_install() {
 
 	ebegin "Cleaning before installation..."
 		find -type f \( -name "*.o" -o -name "*.pdf" -o -name "*.txt" -o -name "*.3" \) -delete || die
+		rm -f "${S}"/nvml/lib/libnvidia-ml.so
 	eend
 
 	if use healthmon; then
@@ -110,6 +111,8 @@ src_install() {
 					fi
 				fi
 			done
+
+			dosym libnvidia-ml.so.1 /opt/cuda/gdk/nvml/lib/libnvidia-ml.so
 			cd "${S}/" || die
 		eend
 	fi


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2014-11-30 13:34 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2014-11-30 13:34 UTC (permalink / raw
  To: gentoo-commits

commit:     377b0486023f9c65597d4ab934fde2fe9008fad0
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Nov 30 12:43:17 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Nov 30 12:43:17 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=377b0486

dev-util/nvidia-cuda-gdk: Remove RESTRICT, add QA_PREBUILT

---
 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
index 4853f3c..27a22a0 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
@@ -28,7 +28,10 @@ DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/payload"
 
-RESTRICT="binchecks"
+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"
 
 src_unpack() {
 	unpacker


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2014-12-01  9:28 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2014-12-01  9:28 UTC (permalink / raw
  To: gentoo-commits

commit:     08f9bfec4dccc655933a27ea07bd52879352b200
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  1 09:25:29 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Dec  1 09:25:29 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=08f9bfec

dev-util/nvidia-cuda-gdk: Drop empty lines, clean variable names and quoting

Package-Manager: portage-2.2.14

---
 dev-util/nvidia-cuda-gdk/ChangeLog                 |  3 ++
 .../nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild  | 42 +++++++++++++---------
 2 files changed, 28 insertions(+), 17 deletions(-)

diff --git a/dev-util/nvidia-cuda-gdk/ChangeLog b/dev-util/nvidia-cuda-gdk/ChangeLog
index 58f8973..2526e36 100644
--- a/dev-util/nvidia-cuda-gdk/ChangeLog
+++ b/dev-util/nvidia-cuda-gdk/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  01 Dec 2014; Justin Lecher <jlec@gentoo.org> nvidia-cuda-gdk-340.29.ebuild:
+  Drop empty lines, clean variable names and quoting
+
   19 Nov 2014; Marius Brehler <marbre@linux.sungazer.de>
   nvidia-cuda-gdk-340.29.ebuild:
   Add ~x86 keyword

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
index 54ec87a..99a4765 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
@@ -22,8 +22,9 @@ IUSE="+healthmon +nvml +doc examples"
 
 RDEPEND="
 	>=dev-util/nvidia-cuda-toolkit-6.5
+	media-libs/freeglut
 	examples? ( >=x11-drivers/nvidia-drivers-340.32[uvm] )
-	media-libs/freeglut"
+	"
 DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/payload"
@@ -41,11 +42,11 @@ src_compile() {
 }
 
 src_install() {
-	local i j f t ARCH
+	local i j f t _arch
 	if use amd64; then
-		ARCH=amd64;
+		_arch=amd64;
 	elif use x86; then
-		ARCH=x86;
+		_arch=x86;
 	else
 		die;
 	fi
@@ -54,9 +55,12 @@ src_install() {
 		if use healthmon ; then
 			ebegin "Installing healthmon docs..."
 				doman nvidia-healthmon/docs/man/man8/nvidia-healthmon.8
-				cd "${S}/nvidia-healthmon/nvidia-healthmon-${ARCH}-${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}/nvidia-healthmon/nvidia-healthmon-${_arch}-${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
@@ -65,25 +69,30 @@ src_install() {
 			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}::")
+				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
 	fi
 
 	ebegin "Cleaning before installation..."
-		find -type f \( -name "*.o" -o -name "*.pdf" -o -name "*.txt" -o -name "*.3" \) -delete || die
+		find -type f \
+			\( -name "*.o" -o -name "*.pdf" -o -name "*.txt" -o -name "*.3" \) -delete \
+			|| die
 	eend
 
 	if use healthmon; then
 		ebegin "Installing nvidia-healthmon"
-			exeinto "/opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon-tests/"
-			doexe "nvidia-healthmon/nvidia-healthmon-${ARCH}-${PV}/bin"/{*,*.*}
-			exeinto "/opt/cuda/gdk/nvidia-healthmon/"
-			doexe "nvidia-healthmon/nvidia-healthmon-${ARCH}-${PV}"/nvidia-healthmon
-			insinto "/etc/nvidia-healthmon/"
-			doins "nvidia-healthmon/nvidia-healthmon-${ARCH}-${PV}"/nvidia-healthmon.conf
+			exeinto /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon-tests/
+			doexe "nvidia-healthmon/nvidia-healthmon-${_arch}-${PV}/bin"/{*,*.*}
+			exeinto /opt/cuda/gdk/nvidia-healthmon/
+			doexe "nvidia-healthmon/nvidia-healthmon-${_arch}-${PV}"/nvidia-healthmon
+			insinto /etc/nvidia-healthmon/
+			doins "nvidia-healthmon/nvidia-healthmon-${_arch}-${PV}"/nvidia-healthmon.conf
 
 			# install launch script
 			exeinto /opt/bin
@@ -113,5 +122,4 @@ src_install() {
 			cd "${S}/" || die
 		eend
 	fi
-
 }


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2015-01-19 17:59 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-01-19 17:59 UTC (permalink / raw
  To: gentoo-commits

commit:     fc343ada949f357824767009ed3988aa4325a1a1
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jan 19 09:21:19 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan 19 09:21:19 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fc343ada

dev-util/nvidia-cuda-gdk: Update copyright year

---
 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
index 787e371..a158dd3 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2015-01-22  0:09 Christoph Junghans
  0 siblings, 0 replies; 16+ messages in thread
From: Christoph Junghans @ 2015-01-22  0:09 UTC (permalink / raw
  To: gentoo-commits

commit:     6d87e81ec0b33abed4334358e33fc644245177c2
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Jan 20 20:02:11 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Jan 20 20:02:11 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6d87e81e

dev-util/nvidia-cuda-gdk: Fix installation of nvml docs

---
 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
index a158dd3..ba9e9d5 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
@@ -68,7 +68,7 @@ src_install() {
 			eend
 		fi
 
-		if use healthmon ; then
+		if use nvml ; then
 			ebegin "Installing nvml docs..."
 				doman nvml/doc/man/man3/*.3
 				cd "${S}/nvml/" || die


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2015-02-02 12:06 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-02-02 12:06 UTC (permalink / raw
  To: gentoo-commits

commit:     bd7b323f097a963faa2884ff805e100ad0bcdb3d
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Feb  1 11:03:12 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Feb  1 11:03:12 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bd7b323f

dev-util/nvidia-cuda-gdk: Add longdescription

---
 dev-util/nvidia-cuda-gdk/metadata.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-util/nvidia-cuda-gdk/metadata.xml b/dev-util/nvidia-cuda-gdk/metadata.xml
index d8e7e3d..74c0292 100644
--- a/dev-util/nvidia-cuda-gdk/metadata.xml
+++ b/dev-util/nvidia-cuda-gdk/metadata.xml
@@ -6,6 +6,11 @@
     <email>marbre@linux.sungazer.de</email>
     <name>Marius Brehler</name>
   </maintainer>
+  <longdescription>
+    The GPU Deployment Kit (previously known as the Tesla Deployment
+    Kit) is a set of tools provided for the NVIDIA Tesla™, GRID™ and
+    Quadro™ GPUs.
+  </longdescription>
   <use>
     <flag name="healthmon">
 			Install nvidia-healthmon.


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2015-03-20  4:31 Christoph Junghans
  0 siblings, 0 replies; 16+ messages in thread
From: Christoph Junghans @ 2015-03-20  4:31 UTC (permalink / raw
  To: gentoo-commits

commit:     42d510f4cadba3e7602c67cd64f0f2321a72f6d9
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Thu Mar 19 07:44:46 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Mar 19 07:44:46 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=42d510f4

dev-util/nvidia-cuda-gdk: Version bump

Package-Manager: portage-2.2.14

 dev-util/nvidia-cuda-gdk/ChangeLog                 |   6 +
 .../nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild  | 121 +++++++++++++++++++++
 2 files changed, 127 insertions(+)

diff --git a/dev-util/nvidia-cuda-gdk/ChangeLog b/dev-util/nvidia-cuda-gdk/ChangeLog
index be83b87..a338fa4 100644
--- a/dev-util/nvidia-cuda-gdk/ChangeLog
+++ b/dev-util/nvidia-cuda-gdk/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*nvidia-cuda-gdk-346.46 (19 Mar 2015)
+
+  19 Mar 2015; Marius Brehler <marbre@linux.sungazer.de>
+  +nvidia-cuda-gdk-346.46.ebuild:
+  Version bump
+
   19 Jan 2015; Marius Brehler <marbre@linux.sungazer.de>
   nvidia-cuda-gdk-340.29.ebuild:
   Fix /opt/bin/nvidia-healthmon

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild
new file mode 100644
index 0000000..0fa56ca
--- /dev/null
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils portability toolchain-funcs unpacker versionator
+
+HEALTMON_PV="346.45"
+
+DESCRIPTION="NVIDIA GPU Deployment Kit"
+HOMEPAGE="https://developer.nvidia.com/gpu-deployment-kit"
+SRC_URI="http://developer.download.nvidia.com/compute/cuda/7_0/Prod/local_installers/cuda_${PV}_gdk_linux.run"
+
+LICENSE="NVIDIA-gdk"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="+healthmon +nvml +doc examples"
+
+RDEPEND="
+	>=dev-util/nvidia-cuda-toolkit-7.0
+	media-libs/freeglut
+	examples? ( >=x11-drivers/nvidia-drivers-346.47[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"
+
+src_unpack() {
+	unpacker
+}
+
+src_compile() {
+	use examples || return
+	cd "${S}"/nvml/example || die
+	emake
+}
+
+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
+	fi
+
+	ebegin "Cleaning before installation..."
+		find -type f \
+			\( -name "*.o" -o -name "*.pdf" -o -name "*.txt" -o -name "*.3" \) -delete \
+			|| die
+		rm -f "${S}"/nvml/lib/libnvidia-ml.so
+	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
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2015-07-23 21:06 Jauhien Piatlicki
  0 siblings, 0 replies; 16+ messages in thread
From: Jauhien Piatlicki @ 2015-07-23 21:06 UTC (permalink / raw
  To: gentoo-commits

commit:     0fbf4ff901a3abef16f79d40db0330fbe1e46608
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Jul 21 08:07:14 2015 +0000
Commit:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
CommitDate: Tue Jul 21 08:07:14 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=0fbf4ff9

dev-util/nvidia-cuda-gdk: Version bump

Package-Manager: portage-2.2.20

 dev-util/nvidia-cuda-gdk/ChangeLog                 |   6 +
 dev-util/nvidia-cuda-gdk/metadata.xml              |   3 +
 .../nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild  | 183 +++++++++++++++++++++
 3 files changed, 192 insertions(+)

diff --git a/dev-util/nvidia-cuda-gdk/ChangeLog b/dev-util/nvidia-cuda-gdk/ChangeLog
index a338fa4..7e01133 100644
--- a/dev-util/nvidia-cuda-gdk/ChangeLog
+++ b/dev-util/nvidia-cuda-gdk/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*nvidia-cuda-gdk-352.07 (21 Jul 2015)
+
+  21 Jul 2015; Marius Brehler <marbre@linux.sungazer.de>
+  +nvidia-cuda-gdk-352.07.ebuild, metadata.xml:
+  dev-util/nvidia-cuda-gdk: Version bump
+
 *nvidia-cuda-gdk-346.46 (19 Mar 2015)
 
   19 Mar 2015; Marius Brehler <marbre@linux.sungazer.de>

diff --git a/dev-util/nvidia-cuda-gdk/metadata.xml b/dev-util/nvidia-cuda-gdk/metadata.xml
index 74c0292..73b4e6c 100644
--- a/dev-util/nvidia-cuda-gdk/metadata.xml
+++ b/dev-util/nvidia-cuda-gdk/metadata.xml
@@ -18,5 +18,8 @@
     <flag name="nvml">
 			Install the NVIDIA Managment Library.
 		</flag>
+    <flag name="nvvs">
+      Install the NVIDIA Validation Suite.
+    </flag>
   </use>
 </pkgmetadata>

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild
new file mode 100644
index 0000000..d090b22
--- /dev/null
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils portability toolchain-funcs unpacker versionator
+
+MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
+
+HEALTMON_PV="352.06"
+NVVS_PV="352.06"
+
+DESCRIPTION="NVIDIA GPU Deployment Kit"
+HOMEPAGE="http://developer.nvidia.com/cuda"
+CURI="https://developer.nvidia.com/rdp/cuda-75-release-candidate"
+SRC_URI="cuda_${MYD}_rc_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.07[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/libMemory.so.1
+	/opt/cuda/gdk/nvvs/plugins/libDeployment.so.1
+	/opt/cuda/gdk/nvvs/plugins/libPcie.so.1
+	/opt/cuda/gdk/nvvs/nvvs
+	"
+
+RESTRICT="fetch"
+
+pkg_nofetch() {
+	einfo "Please download the RHEL 7 \"runfile (local)\" installer"
+	einfo "  - cuda_${MYD}_rc_gdk_linux.run"
+	einfo "from ${CURI} and place it in ${DISTDIR}"
+}
+
+src_unpack() {
+	unpacker
+}
+
+src_compile() {
+	use examples || return
+	cd "${S}"/nvml/example || die
+	emake
+}
+
+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..."
+				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}"/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 /opt/cuda/gdk/nvvs/nvvs /opt/bin/nvidia-vs
+			cd "${S}/" || die
+		eend
+	fi
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2015-09-13 18:34 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-09-13 18:34 UTC (permalink / raw
  To: gentoo-commits

commit:     2b1f96cc071149b0fdc15bfed2d478d10f297fd9
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Sep 12 10:56:41 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Sep 12 10:56:41 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2b1f96cc

dev-util/nvidia-cuda-gdk: Version bump

Package-Manager: portage-2.2.20.1

 dev-util/nvidia-cuda-gdk/ChangeLog                 |   6 +
 .../nvidia-cuda-gdk/nvidia-cuda-gdk-352.39.ebuild  | 187 +++++++++++++++++++++
 2 files changed, 193 insertions(+)

diff --git a/dev-util/nvidia-cuda-gdk/ChangeLog b/dev-util/nvidia-cuda-gdk/ChangeLog
index 8f96e13..822b304 100644
--- a/dev-util/nvidia-cuda-gdk/ChangeLog
+++ b/dev-util/nvidia-cuda-gdk/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+*nvidia-cuda-gdk-352.39 (12 Sep 2015)
+
+  12 Sep 2015; Marius Brehler <marbre@linux.sungazer.de>
+  +nvidia-cuda-gdk-352.39.ebuild:
+  dev-util/nvidia-cuda-gdk: Version bump
+
 *nvidia-cuda-gdk-352.07 (21 Jul 2015)
 
   21 Jul 2015; Marius Brehler <marbre@linux.sungazer.de>

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.39.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.39.ebuild
new file mode 100644
index 0000000..b8db259
--- /dev/null
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.39.ebuild
@@ -0,0 +1,187 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils portability toolchain-funcs unpacker versionator
+
+MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
+
+HEALTMON_PV="352.38"
+NVVS_PV="352.38"
+
+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.39[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
+	emake
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2015-09-23 12:48 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2015-09-23 12:48 UTC (permalink / raw
  To: gentoo-commits

commit:     2511d5b625d0a3dd3e7a7bcbb888a6249392fcc9
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 12:32:51 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 12:32:51 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2511d5b6

dev-util/nvidia-cuda-gdk: Use default functions

Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild | 2 +-
 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild | 2 +-
 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild | 2 +-
 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.39.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
index b6b736b..9a46872 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild
@@ -41,7 +41,7 @@ src_unpack() {
 src_compile() {
 	use examples || return
 	cd "${S}"/nvml/example || die
-	emake
+	default
 }
 
 src_install() {

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild
index 20c6d53..d858f8e 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild
@@ -38,7 +38,7 @@ src_unpack() {
 src_compile() {
 	use examples || return
 	cd "${S}"/nvml/example || die
-	emake
+	default
 }
 
 src_install() {

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild
index 6b59192..f119a6c 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild
@@ -55,7 +55,7 @@ src_unpack() {
 src_compile() {
 	use examples || return
 	cd "${S}"/nvml/example || die
-	emake
+	default
 }
 
 src_install() {

diff --git a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.39.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.39.ebuild
index 9e3c4e6..13ca6d7 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.39.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.39.ebuild
@@ -56,7 +56,7 @@ src_unpack() {
 src_compile() {
 	use examples || return
 	cd "${S}"/nvml/example || die
-	emake
+	default
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2016-05-30  8:11 Marius Brehler
  0 siblings, 0 replies; 16+ messages in thread
From: Marius Brehler @ 2016-05-30  8:11 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2017-11-18 19:49 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2017-11-18 19:49 UTC (permalink / raw
  To: gentoo-commits

commit:     c1f31a532c58ab16d323decc264e6fb231aaa495
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 18 18:26:08 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 19:49:17 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c1f31a53

dev-util/nvidia-cuda-gdk: Fix repoman warnings

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-util/nvidia-cuda-gdk/metadata.xml                  |  8 ++------
 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild | 10 +++++-----
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/dev-util/nvidia-cuda-gdk/metadata.xml b/dev-util/nvidia-cuda-gdk/metadata.xml
index fea84f5a0..089f3983a 100644
--- a/dev-util/nvidia-cuda-gdk/metadata.xml
+++ b/dev-util/nvidia-cuda-gdk/metadata.xml
@@ -15,12 +15,8 @@
     Quadro™ GPUs.
   </longdescription>
   <use>
-    <flag name="healthmon">
-			Install nvidia-healthmon.
-		</flag>
-    <flag name="nvml">
-			Install the NVIDIA Managment Library.
-		</flag>
+    <flag name="healthmon">Install nvidia-healthmon.</flag>
+    <flag name="nvml">Install the NVIDIA Managment Library.</flag>
     <flag name="nvvs">
       Install the NVIDIA Validation Suite.
     </flag>

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
index a1b8d7086..e629e556d 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -32,7 +32,8 @@ DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/payload"
 
-QA_PREBUILT="/opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon
+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
@@ -46,7 +47,7 @@ QA_PREBUILT="/opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon
 	/opt/cuda/gdk/nvvs/plugins/libSmPerformance.so
 	/opt/cuda/gdk/nvvs/plugins/libPower.so
 	/opt/cuda/gdk/nvvs/nvvs
-	"
+)
 
 src_unpack() {
 	unpacker
@@ -183,8 +184,7 @@ src_install() {
 			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
+			dosym ../cuda/gdk/nvvs/nvvs /opt/bin/nvidia-vs
 		eend
 	fi
 }


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/
@ 2018-10-27 16:05 Justin Lecher
  0 siblings, 0 replies; 16+ messages in thread
From: Justin Lecher @ 2018-10-27 16:05 UTC (permalink / raw
  To: gentoo-commits

commit:     2b7f42ff32126bdf7f210bf6f4e66d54e401360a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 27 16:05:06 2018 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Oct 27 16:05:06 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2b7f42ff

dev-util/nvidia-cuda-gdk: Drop bad dependency

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

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
index e629e556d..6a815da47 100644
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild
+++ b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,10 +23,7 @@ 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]
-	)
+	nvvs? (	>=x11-drivers/nvidia-drivers-352.79[uvm] )
 	"
 DEPEND="${RDEPEND}"
 


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-10-27 16:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-01  9:28 [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2018-10-27 16:05 Justin Lecher
2017-11-18 19:49 Justin Lecher
2016-05-30  8:11 Marius Brehler
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-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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox