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/files/, dev-util/nvidia-cuda-gdk/
@ 2015-01-19 17:59 Justin Lecher
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2015-01-19 17:59 UTC (permalink / raw
  To: gentoo-commits

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

dev-util/nvidia-cuda-gdk: Fix wrapper /opt/bin/nvidia-healthmon

---
 dev-util/nvidia-cuda-gdk/ChangeLog              | 6 +++++-
 dev-util/nvidia-cuda-gdk/files/nvidia-healthmon | 4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-util/nvidia-cuda-gdk/ChangeLog b/dev-util/nvidia-cuda-gdk/ChangeLog
index 169f0dc..be83b87 100644
--- a/dev-util/nvidia-cuda-gdk/ChangeLog
+++ b/dev-util/nvidia-cuda-gdk/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for dev-util/nvidia-cuda-gdk
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  19 Jan 2015; Marius Brehler <marbre@linux.sungazer.de>
+  nvidia-cuda-gdk-340.29.ebuild:
+  Fix /opt/bin/nvidia-healthmon
+
   01 Dec 2014; Justin Lecher <jlec@gentoo.org> nvidia-cuda-gdk-340.29.ebuild:
   Drop empty lines, clean variable names and quoting
 

diff --git a/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon b/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon
index 007c9dc..caf1b00 100644
--- a/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon
+++ b/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon
@@ -1,9 +1,9 @@
 #!/bin/bash
 
-while getopts "c" opt
+while getopts ":c" opt
 do
 	case $opt in
 		c) exec /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon "$@";;
-		*) exec /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon -c /etc/nvidia-healtmon/nvidia-healtmon.conf "$@";;
+		*) exec /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon -c /etc/nvidia-healthmon/nvidia-healthmon.conf "$@";;
 	esac
 done
\ No newline at end of file


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

* [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/files/, dev-util/nvidia-cuda-gdk/
@ 2020-12-30 21:13 Aisha Tammy
  0 siblings, 0 replies; 2+ messages in thread
From: Aisha Tammy @ 2020-12-30 21:13 UTC (permalink / raw
  To: gentoo-commits

commit:     7bf2736e491bc6d0d978b66d2e6277fdf451c026
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Wed Dec 30 21:01:03 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Wed Dec 30 21:01:03 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=7bf2736e

dev-util/nvidia-cuda-gdk: now part of NVIDIA CUDA SDK

Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-util/nvidia-cuda-gdk/files/nvidia-healthmon    |   9 -
 dev-util/nvidia-cuda-gdk/metadata.xml              |  24 ---
 .../nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild  | 187 ---------------------
 3 files changed, 220 deletions(-)

diff --git a/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon b/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon
deleted file mode 100644
index caf1b004e..000000000
--- a/dev-util/nvidia-cuda-gdk/files/nvidia-healthmon
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-while getopts ":c" opt
-do
-	case $opt in
-		c) exec /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon "$@";;
-		*) exec /opt/cuda/gdk/nvidia-healthmon/nvidia-healthmon -c /etc/nvidia-healthmon/nvidia-healthmon.conf "$@";;
-	esac
-done
\ No newline at end of file

diff --git a/dev-util/nvidia-cuda-gdk/metadata.xml b/dev-util/nvidia-cuda-gdk/metadata.xml
deleted file mode 100644
index d335675d1..000000000
--- a/dev-util/nvidia-cuda-gdk/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>marbre@linux.sungazer.de</email>
-		<name>Marius Brehler</name>
-	</maintainer>
-	<maintainer type="project">
-		<email>sci@gentoo.org</email>
-		<name>Gentoo Science Project</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.</flag>
-		<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.79.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild
deleted file mode 100644
index 6a815da47..000000000
--- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.79.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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] )
-	"
-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 ../cuda/gdk/nvvs/nvvs /opt/bin/nvidia-vs
-		eend
-	fi
-}


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

end of thread, other threads:[~2020-12-30 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 17:59 [gentoo-commits] proj/sci:master commit in: dev-util/nvidia-cuda-gdk/files/, dev-util/nvidia-cuda-gdk/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2020-12-30 21:13 Aisha Tammy

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