diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-09-09 10:11:18 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-09-09 10:11:18 +0200 |
commit | a61f96baf2878bf949096a45ad824a0ccb7a0bec (patch) | |
tree | 28c4cd23b27068066dd34ffe41ddaac6f667fbfd /dev-util | |
parent | dev-util/nvidia-cuda-sdk: Version Bump (diff) | |
download | sci-a61f96baf2878bf949096a45ad824a0ccb7a0bec.tar.gz sci-a61f96baf2878bf949096a45ad824a0ccb7a0bec.tar.bz2 sci-a61f96baf2878bf949096a45ad824a0ccb7a0bec.zip |
Moved to tree
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/nvidia-cuda-gdk/ChangeLog | 36 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-gdk/Manifest | 4 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-gdk/files/nvidia-healthmon | 9 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-gdk/metadata.xml | 25 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild | 131 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild | 121 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild | 183 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/Manifest | 2 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/files/cuda-config.in | 28 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/metadata.xml | 14 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.5.18.ebuild | 143 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.5.7.ebuild | 152 |
13 files changed, 0 insertions, 857 deletions
diff --git a/dev-util/nvidia-cuda-gdk/ChangeLog b/dev-util/nvidia-cuda-gdk/ChangeLog deleted file mode 100644 index 8f96e133d..000000000 --- a/dev-util/nvidia-cuda-gdk/ChangeLog +++ /dev/null @@ -1,36 +0,0 @@ -# ChangeLog for dev-util/nvidia-cuda-gdk -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Id$ - -*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> - +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 - - 01 Dec 2014; Justin Lecher <jlec@gentoo.org> nvidia-cuda-gdk-340.29.ebuild: - Drop empty lines, clean variable names and quoting - - 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 - -*nvidia-cuda-gdk-340.29 (18 Nov 2014) - - 18 Nov 2014; Marius Brehler <marbre@linux.sungazer.de> - +files/nvidia-healthmon, +metadata.xml, +nvidia-cuda-gdk-340.29.ebuild: - Inital commit. diff --git a/dev-util/nvidia-cuda-gdk/Manifest b/dev-util/nvidia-cuda-gdk/Manifest deleted file mode 100644 index 78b98a3af..000000000 --- a/dev-util/nvidia-cuda-gdk/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST cuda_340_29_gdk_linux_32.run 2736726 SHA256 69dd21a556c04982ad720d8eed5ef90cd7c00d3ff4f1ac7087c9a98433a5795e SHA512 30e659fd337c455fd23a3120650565340d7963c77c6b5f46d5549b8f9b1d080659ae3dd6d12cfc4eaa7f9862fe4b2b511b19b023be5180e5e9937cd5d74938d7 WHIRLPOOL 569972d4281f71d450c88794e1b7efef4c6c24ce5a4717b203e0c961fb42a44e6b89d0be167c145705632de63da3d14c63335ba0eec24c34f99bf67b60a6a011 -DIST cuda_340_29_gdk_linux_64.run 2752832 SHA256 c4dcc5294731bc7f01cd0eafe42a6784f897760e2ed44224db9865db6f7cd6fa SHA512 3310600ccddf0f79087aa48c61cf7c10bde2543f041571f1bf7c9721a5e41a993e6b231f6b01e37b22062e0b978da7135d89382b9a3a996b82b04283676469ff WHIRLPOOL 91b5c104140b9beb28fec6733f7fd71478993497bff7e9814777e3a8f2e4242c26bd383fcd3e3fbed94e221cdbecaecc53e98a4779d9f17ca4ee20362f36463d -DIST cuda_346.46_gdk_linux.run 1888773 SHA256 cae9dde44631ac927bad8237e1380c12977202e1186803db70e8afde0479b6a3 SHA512 ef37196bd97c3c2b4644505dcc28990e6264613d018398251287bf0332709ac1419dcc310197b3426162174703c4a07e5a8c11d4d40035c6df19da741862e8d2 WHIRLPOOL 1a93d876f624c2e83ceea78978a7db50fd31e9120c1f412b7b0bdea47c6e3ea5bf5d291dde1ed4e2363a06ce7f7851c79eb7120aca308d8e05c6363c9935948f -DIST cuda_352_07_rc_gdk_linux.run 3960546 SHA256 6e25e46d0a20ac5aebc650c59dbb8db2fbcd6bfde1b5d51316b041b8253a18f4 SHA512 46e5328214ffe459a079ff08ad38b3b1e05116e8d5801b8e17667973844d25562fff9ad24c5a8c164df19d92b073960f2ed6ad46c7bb0f6ac79d9a33a5398063 WHIRLPOOL d940ff072e0cdff6d0bc23e26730a5b8592784de08b5cae83c6dfceb8262ec2e457790f02c64aa01cfdf3b9c650a968d1b35b973814bfb9b21650755fd84e6a7 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 73b4e6c72..000000000 --- a/dev-util/nvidia-cuda-gdk/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>sci</herd> - <maintainer> - <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. - </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-340.29.ebuild b/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild deleted file mode 100644 index b6b736b71..000000000 --- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-340.29.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# 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) - -DESCRIPTION="NVIDIA GPU Deployment Kit" -HOMEPAGE="https://developer.nvidia.com/gpu-deployment-kit" -CURI="http://developer.download.nvidia.com/compute/cuda/6_5/rel/installers" -SRC_URI=" - amd64? ( ${CURI}/cuda_${MYD}_gdk_linux_64.run ) - x86? ( ${CURI}/cuda_${MYD}_gdk_linux_32.run )" - -LICENSE="NVIDIA-gdk" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+healthmon +nvml +doc examples" - -RDEPEND=" - >=dev-util/nvidia-cuda-toolkit-6.5 - media-libs/freeglut - examples? ( >=x11-drivers/nvidia-drivers-340.32[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 _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-${_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 - - 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-${_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 - 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 -} 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 deleted file mode 100644 index 20c6d53ce..000000000 --- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-346.46.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# 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 - -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 -} 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 deleted file mode 100644 index 6b59192fd..000000000 --- a/dev-util/nvidia-cuda-gdk/nvidia-cuda-gdk-352.07.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# 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.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 -} diff --git a/dev-util/nvidia-cuda-toolkit/ChangeLog b/dev-util/nvidia-cuda-toolkit/ChangeLog deleted file mode 100644 index fe9ee4d51..000000000 --- a/dev-util/nvidia-cuda-toolkit/ChangeLog +++ /dev/null @@ -1,9 +0,0 @@ -# ChangeLog for dev-util/nvidia-cuda-toolkit -# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Id$ - -*nvidia-cuda-toolkit-7.5.7 (08 Jul 2015) - - 08 Jul 2015; Marius Brehler <marbre@linux.sungazer.de> +files/cuda-config.in, - +metadata.xml, +nvidia-cuda-toolkit-7.5.7.ebuild: - dev-util/nvidia-cuda-toolkit: Add CUDA 7.5 release candidate diff --git a/dev-util/nvidia-cuda-toolkit/Manifest b/dev-util/nvidia-cuda-toolkit/Manifest deleted file mode 100644 index 0e7c3ed07..000000000 --- a/dev-util/nvidia-cuda-toolkit/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cuda_7.5.18_linux.run 1195431560 SHA256 245ffb6c1e2b69d323f8ae3a1b63d3384fec3934222e56e9d801ecc0d6e919c5 SHA512 cb933512fde09376b1d6040c72d24c4f91dc44f73322ca87aa7d1f34156c9c87feea41f9a00f1a403cfb89645b5e7a6a5f2bfe4933703ba81f0cf94968d430fd WHIRLPOOL b1a06acba02043fabf496ba683fb984b1c90df2cd71396457f664beb8cb26b2e3074c8568ec6ce0cfe565721986670c7a40351a29a4856a7e03268c14d545247 -DIST cuda_7.5.7_rc_linux.run 1196581689 SHA256 9c2798739fcddfab315ae536e1e233b8a76ef9fde593e612befda910ebea561a SHA512 d677970bdf396a090bccb7b9a18071233546c2eb2c6b4954e18cff50b5f92221c7d8f4a46833039b3b290083ff15dd7fd5698e214da986df0f6f05207195fbfd WHIRLPOOL c2df320155d53038e8ec9e9053a3b62e263c851a9c7f577716a24921b3d882068154a018d022de1f206b1c948bffd74bfdfe41531c713c6f81c55eb7a2bb6102 diff --git a/dev-util/nvidia-cuda-toolkit/files/cuda-config.in b/dev-util/nvidia-cuda-toolkit/files/cuda-config.in deleted file mode 100644 index ca0d1d77e..000000000 --- a/dev-util/nvidia-cuda-toolkit/files/cuda-config.in +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -SUPPORT_GCC_VERSIONS_BY_CUDA="CUDA_SUPPORTED_GCC" - -_print_help() { - cat <<- EOF - Usage: - $(basename $0) [options] - - -s | --supported Returns by current CUDA supported gcc versions - -h | --help Shows this help - EOF -} - -case ${1} in - -s|--supported) - echo "${SUPPORT_GCC_VERSIONS_BY_CUDA}" - exit 0 - ;; - -h|--help) - _print_help - exit -1 - ;; - *) - _print_help - exit 1 - ;; -esac diff --git a/dev-util/nvidia-cuda-toolkit/metadata.xml b/dev-util/nvidia-cuda-toolkit/metadata.xml deleted file mode 100644 index e099ba557..000000000 --- a/dev-util/nvidia-cuda-toolkit/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>sci</herd> - <use> - <flag name="profiler"> - Installs the NVIDIA CUDA visual profiler. - </flag> - <flag name="debugger"> - Installs the CUDA debugger. - </flag> - <flag name="eclipse">Install the <pkg>dev-util/eclipse-sdk</pkg> plugins</flag> - </use> -</pkgmetadata> diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.5.18.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.5.18.ebuild deleted file mode 100644 index 0ffc59738..000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.5.18.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit check-reqs cuda unpacker versionator - -MYD=$(get_version_component_range 1-2) - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="http://developer.nvidia.com/cuda" -SRC_URI="http://developer.download.nvidia.com/compute/cuda/${MYD}/Prod/local_installers/cuda_${PV}_linux.run" - -SLOT="0/${PV}" -LICENSE="NVIDIA-CUDA" -KEYWORDS="-* ~amd64 ~amd64-linux" -IUSE="debugger doc eclipse profiler" - -DEPEND="" -RDEPEND="${DEPEND} - >=sys-devel/gcc-4.7[cxx] - >=x11-drivers/nvidia-drivers-352.39[uvm] - debugger? ( - sys-libs/libtermcap-compat - sys-libs/ncurses[tinfo] - ) - eclipse? ( >=virtual/jre-1.6 ) - profiler? ( >=virtual/jre-1.6 )" - -S="${WORKDIR}" - -QA_PREBUILT="opt/cuda/*" - -CHECKREQS_DISK_BUILD="1500M" - -pkg_setup() { - # We don't like to run cuda_pkg_setup as it depends on us - check-reqs_pkg_setup -} - -src_unpack() { - unpacker - unpacker run_files/cuda-linux*.run -} - -src_prepare() { - local cuda_supported_gcc - - cuda_supported_gcc="4.7 4.8 4.9" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die -} - -src_install() { - local i j - local remove="doc jre run_files install-linux.pl " - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}"${cudadir} - - # dodoc doc/*txt - if use doc; then - dodoc doc/pdf/* - dohtml -r doc/html/* - fi - - mv doc/man/man3/{,cuda-}deprecated.3 || die - doman doc/man/man*/* - - use debugger || remove+=" bin/cuda-gdb extras/Debugger" - ( use profiler || use eclipse ) || remove+=" libnsight" - remove+=" cuda-installer.pl" - - if use profiler; then - # hack found in install-linux.pl - for j in nvvp nsight; do - cat > bin/${j} <<- EOF - #!${EPREFIX}/bin/sh - LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \ - UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 \ - ${ecudadir}/lib${j}/${j} -vm ${EPREFIX}/usr/bin/java - EOF - chmod a+x bin/${j} - done - else - use eclipse || remove+=" libnvvp" - remove+=" extras/CUPTI" - fi - - for i in ${remove}; do - ebegin "Cleaning ${i}..." - if [[ -e ${i} ]]; then - find ${i} -delete || die - eend - else - eend $1 - fi - done - - ln -sf lib lib32 || die - - dodir ${cudadir} - mv * "${ED}"${cudadir} || die - - cat > "${T}"/99cuda <<- EOF - PATH=${ecudadir}/bin$(use profiler && echo ":${ecudadir}/libnvvp") - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib64:${ecudadir}/lib - EOF - doenvd "${T}"/99cuda - - use profiler && \ - make_wrapper nvprof "${EPREFIX}"${cudadir}/bin/nvprof "." ${ecudadir}/lib64:${ecudadir}/lib - - dobin "${T}"/cuda-config -} - -pkg_postinst_check() { - local a b - a="$(version_sort $(cuda-config -s))"; a=( $a ) - # greatest supported version - b=${a[${#a[@]}-1]} - - # if gcc and if not gcc-version is at least greatesst supported - if [[ $(tc-getCC) == *gcc* ]] && \ - ! version_is_at_least $(gcc-version) ${b}; then - echo - ewarn "gcc >= ${b} will not work with CUDA" - ewarn "Make sure you set an earlier version of gcc with gcc-config" - ewarn "or append --compiler-bindir= pointing to a gcc bindir like" - ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}" - ewarn "to the nvcc compiler flags" - echo - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi -} diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.5.7.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.5.7.ebuild deleted file mode 100644 index 2dfb4f3c4..000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-7.5.7.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit check-reqs cuda unpacker versionator - -MYD=$(get_version_component_range 1)_$(get_version_component_range 2) - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="http://developer.nvidia.com/cuda" -CURI="https://developer.nvidia.com/rdp/cuda-75-release-candidate" -SRC_URI="cuda_${PV}_rc_linux.run" - -SLOT="0/${PV}" -LICENSE="NVIDIA-CUDA" -KEYWORDS="-* ~amd64 ~amd64-linux" -IUSE="debugger doc eclipse profiler" - -DEPEND="" -RDEPEND="${DEPEND} - >=sys-devel/gcc-4.7[cxx] - >=x11-drivers/nvidia-drivers-352.07[uvm] - debugger? ( - sys-libs/libtermcap-compat - sys-libs/ncurses[tinfo] - ) - eclipse? ( >=virtual/jre-1.6 ) - profiler? ( >=virtual/jre-1.6 )" - -RESTRICT="fetch" - -pkg_nofetch() { - einfo "Please download the RHEL 7 \"runfile (local)\" installer" - einfo " - cuda_${P}_rc_linux.run" - einfo "from ${CURI} and place it in ${DISTDIR}" -} - -S="${WORKDIR}" - -QA_PREBUILT="opt/cuda/*" - -CHECKREQS_DISK_BUILD="1500M" - -pkg_setup() { - # We don't like to run cuda_pkg_setup as it depends on us - check-reqs_pkg_setup -} - -src_unpack() { - unpacker - unpacker run_files/cuda-linux*.run -} - -src_prepare() { - local cuda_supported_gcc - - cuda_supported_gcc="4.7 4.8 4.9" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die -} - -src_install() { - local i j - local remove="doc jre run_files install-linux.pl " - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}"${cudadir} - - # dodoc doc/*txt - if use doc; then - dodoc doc/pdf/* - dohtml -r doc/html/* - fi - - mv doc/man/man3/{,cuda-}deprecated.3 || die - doman doc/man/man*/* - - use debugger || remove+=" bin/cuda-gdb extras/Debugger" - ( use profiler || use eclipse ) || remove+=" libnsight" - remove+=" cuda-installer.pl" - - if use profiler; then - # hack found in install-linux.pl - for j in nvvp nsight; do - cat > bin/${j} <<- EOF - #!${EPREFIX}/bin/sh - LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \ - UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 \ - ${ecudadir}/lib${j}/${j} -vm ${EPREFIX}/usr/bin/java - EOF - chmod a+x bin/${j} - done - else - use eclipse || remove+=" libnvvp" - remove+=" extras/CUPTI" - fi - - for i in ${remove}; do - ebegin "Cleaning ${i}..." - if [[ -e ${i} ]]; then - find ${i} -delete || die - eend - else - eend $1 - fi - done - - ln -sf lib lib32 || die - - dodir ${cudadir} - mv * "${ED}"${cudadir} || die - - cat > "${T}"/99cuda <<- EOF - PATH=${ecudadir}/bin$(use profiler && echo ":${ecudadir}/libnvvp") - ROOTPATH=${ecudadir}/bin - LDPATH=${ecudadir}/lib64:${ecudadir}/lib - EOF - doenvd "${T}"/99cuda - - use profiler && \ - make_wrapper nvprof "${EPREFIX}"${cudadir}/bin/nvprof "." ${ecudadir}/lib64:${ecudadir}/lib - - dobin "${T}"/cuda-config -} - -pkg_postinst_check() { - local a b - a="$(version_sort $(cuda-config -s))"; a=( $a ) - # greatest supported version - b=${a[${#a[@]}-1]} - - # if gcc and if not gcc-version is at least greatesst supported - if [[ $(tc-getCC) == *gcc* ]] && \ - ! version_is_at_least $(gcc-version) ${b}; then - echo - ewarn "gcc >= ${b} will not work with CUDA" - ewarn "Make sure you set an earlier version of gcc with gcc-config" - ewarn "or append --compiler-bindir= pointing to a gcc bindir like" - ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}" - ewarn "to the nvcc compiler flags" - echo - fi -} - -pkg_postinst() { - if [[ ${MERGE_TYPE} != binary ]]; then - pkg_postinst_check - fi -} |