summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2012-02-21 21:45:23 +0000
committerMichael Januszewski <spock@gentoo.org>2012-02-21 21:45:23 +0000
commit5846b2355ad2f0f14edda054d1d5de5f2737bdea (patch)
treec4ded2ce5101363dc783910882d3e359723ae949
parentmarked x86 per bug 404179 (diff)
downloadgentoo-2-5846b2355ad2f0f14edda054d1d5de5f2737bdea.tar.gz
gentoo-2-5846b2355ad2f0f14edda054d1d5de5f2737bdea.tar.bz2
gentoo-2-5846b2355ad2f0f14edda054d1d5de5f2737bdea.zip
Remove old ebuilds.
(Portage version: 2.1.10.47/cvs/Linux x86_64)
-rw-r--r--dev-util/nvidia-cuda-toolkit/ChangeLog12
-rw-r--r--dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-2.2-enum_fix.patch42
-rw-r--r--dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.0-enum_fix.patch54
-rw-r--r--dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch24
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-2.2-r3.ebuild127
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-2.3.ebuild125
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.0.ebuild144
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.1.ebuild138
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.2.ebuild141
9 files changed, 11 insertions, 796 deletions
diff --git a/dev-util/nvidia-cuda-toolkit/ChangeLog b/dev-util/nvidia-cuda-toolkit/ChangeLog
index cd63177cbaa5..11578fdf871f 100644
--- a/dev-util/nvidia-cuda-toolkit/ChangeLog
+++ b/dev-util/nvidia-cuda-toolkit/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-util/nvidia-cuda-toolkit
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.48 2012/02/21 21:42:21 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.49 2012/02/21 21:45:22 spock Exp $
+
+ 21 Feb 2012; Michał Januszewski <spock@gentoo.org>
+ -nvidia-cuda-toolkit-2.2-r3.ebuild,
+ -files/nvidia-cuda-toolkit-2.2-enum_fix.patch,
+ -nvidia-cuda-toolkit-2.3.ebuild, -nvidia-cuda-toolkit-3.0.ebuild,
+ -files/nvidia-cuda-toolkit-3.0-enum_fix.patch,
+ -nvidia-cuda-toolkit-3.1.ebuild,
+ -files/nvidia-cuda-toolkit-3.1-enum_fix.patch,
+ -nvidia-cuda-toolkit-3.2.ebuild:
+ Remove old ebuilds.
21 Feb 2012; Michał Januszewski <spock@gentoo.org>
nvidia-cuda-toolkit-3.0.ebuild, nvidia-cuda-toolkit-3.1.ebuild,
diff --git a/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-2.2-enum_fix.patch b/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-2.2-enum_fix.patch
deleted file mode 100644
index 21556729fb9a..000000000000
--- a/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-2.2-enum_fix.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff -Naurp cudatoolkit_orig/include/cuda.h cudatoolkit/include/cuda.h
---- cudatoolkit_orig/include/cuda.h 2009-04-13 10:39:12.000000000 +0200
-+++ cudatoolkit/include/cuda.h 2009-05-09 17:28:25.000000000 +0200
-@@ -86,7 +86,7 @@ typedef enum CUctx_flags_enum {
- CU_CTX_SCHED_MASK = 0x3,
- CU_CTX_BLOCKING_SYNC = 4, ///< Use blocking synchronization
- CU_CTX_MAP_HOST = 8, ///< Support mapped pinned allocations
-- CU_CTX_FLAGS_MASK = 0xf,
-+ CU_CTX_FLAGS_MASK = 0xf
- } CUctx_flags;
-
- /**
-@@ -94,7 +94,7 @@ typedef enum CUctx_flags_enum {
- */
- typedef enum CUevent_flags_enum {
- CU_EVENT_DEFAULT = 0, ///< Default event flag
-- CU_EVENT_BLOCKING_SYNC = 1, ///< Event uses blocking synchronization
-+ CU_EVENT_BLOCKING_SYNC = 1 ///< Event uses blocking synchronization
- } CUevent_flags;
-
- /**
-@@ -117,7 +117,7 @@ typedef enum CUarray_format_enum {
- typedef enum CUaddress_mode_enum {
- CU_TR_ADDRESS_MODE_WRAP = 0, ///< Wrapping address mode
- CU_TR_ADDRESS_MODE_CLAMP = 1, ///< Clamp to edge address mode
-- CU_TR_ADDRESS_MODE_MIRROR = 2, ///< Mirror address mode
-+ CU_TR_ADDRESS_MODE_MIRROR = 2 ///< Mirror address mode
- } CUaddress_mode;
-
- /**
-diff -Naurp cudatoolkit_orig/include/driver_types.h cudatoolkit/include/driver_types.h
---- cudatoolkit_orig/include/driver_types.h 2009-04-13 10:39:06.000000000 +0200
-+++ cudatoolkit/include/driver_types.h 2009-05-09 17:31:17.000000000 +0200
-@@ -140,7 +140,7 @@ enum cudaChannelFormatKind
- cudaChannelFormatKindSigned = 0, ///< Signed channel format
- cudaChannelFormatKindUnsigned = 1, ///< Unsigned channel format
- cudaChannelFormatKindFloat = 2, ///< Float channel format
-- cudaChannelFormatKindNone = 3, ///< No channel format
-+ cudaChannelFormatKindNone = 3 ///< No channel format
- };
-
- /**
diff --git a/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.0-enum_fix.patch b/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.0-enum_fix.patch
deleted file mode 100644
index ce11b492f086..000000000000
--- a/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.0-enum_fix.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -Naur cuda.orig/include/cudaGL.h cuda/include/cudaGL.h
---- cuda.orig/include/cudaGL.h 2010-03-21 13:19:57.000000000 +0100
-+++ cuda/include/cudaGL.h 2010-03-21 13:46:29.000000000 +0100
-@@ -59,7 +59,7 @@
- typedef enum CUGLmap_flags_enum {
- CU_GL_MAP_RESOURCE_FLAGS_NONE = 0x00,
- CU_GL_MAP_RESOURCE_FLAGS_READ_ONLY = 0x01,
-- CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02,
-+ CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02
- } CUGLmap_flags;
-
- CUresult CUDAAPI cuGLInit(void);
-diff -Naur cuda.orig/include/cuda_gl_interop.h cuda/include/cuda_gl_interop.h
---- cuda.orig/include/cuda_gl_interop.h 2010-03-21 13:19:57.000000000 +0100
-+++ cuda/include/cuda_gl_interop.h 2010-03-21 13:28:07.000000000 +0100
-@@ -82,7 +82,7 @@
- {
- cudaGLMapFlagsNone = 0, ///< Default; Assume resource can be read/written
- cudaGLMapFlagsReadOnly = 1, ///< CUDA kernels will not write to this resource
-- cudaGLMapFlagsWriteDiscard = 2, ///< CUDA kernels will only write to and will not read from this resource
-+ cudaGLMapFlagsWriteDiscard = 2 ///< CUDA kernels will only write to and will not read from this resource
- };
-
- extern __host__ cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj);
-diff -Naur cuda.orig/include/driver_types.h cuda/include/driver_types.h
---- cuda.orig/include/driver_types.h 2010-03-21 13:19:57.000000000 +0100
-+++ cuda/include/driver_types.h 2010-03-21 13:26:09.000000000 +0100
-@@ -244,7 +244,7 @@
- /*DEVICE_BUILTIN*/
- enum cudaGraphicsRegisterFlags
- {
-- cudaGraphicsRegisterFlagsNone = 0, ///< Default
-+ cudaGraphicsRegisterFlagsNone = 0 ///< Default
- };
-
- /**
-@@ -255,7 +255,7 @@
- {
- cudaGraphicsMapFlagsNone = 0, ///< Default; Assume resource can be read/written
- cudaGraphicsMapFlagsReadOnly = 1, ///< CUDA will not write to this resource
-- cudaGraphicsMapFlagsWriteDiscard = 2, ///< CUDA will only write to and will not read from this resource
-+ cudaGraphicsMapFlagsWriteDiscard = 2 ///< CUDA will only write to and will not read from this resource
- };
-
- /**
-@@ -268,7 +268,7 @@
- cudaGraphicsCubeFacePositiveY = 0x02, ///< Positive Y face of cubemap
- cudaGraphicsCubeFaceNegativeY = 0x03, ///< Negative Y face of cubemap
- cudaGraphicsCubeFacePositiveZ = 0x04, ///< Positive Z face of cubemap
-- cudaGraphicsCubeFaceNegativeZ = 0x05, ///< Negative Z face of cubemap
-+ cudaGraphicsCubeFaceNegativeZ = 0x05 ///< Negative Z face of cubemap
- };
-
- /**
diff --git a/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch b/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch
deleted file mode 100644
index 698d2c7b56e0..000000000000
--- a/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur include.orig/cudaGL.h include/cudaGL.h
---- include.orig/cudaGL.h 2010-04-28 09:31:16.000000000 +0200
-+++ include/cudaGL.h 2010-05-21 00:04:47.000000000 +0200
-@@ -59,7 +59,7 @@
- typedef enum CUGLmap_flags_enum {
- CU_GL_MAP_RESOURCE_FLAGS_NONE = 0x00,
- CU_GL_MAP_RESOURCE_FLAGS_READ_ONLY = 0x01,
-- CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02,
-+ CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02
- } CUGLmap_flags;
-
- CUresult CUDAAPI cuGLInit(void);
-diff -Naur include.orig/cuda_gl_interop.h include/cuda_gl_interop.h
---- include.orig/cuda_gl_interop.h 2010-04-28 09:30:46.000000000 +0200
-+++ include/cuda_gl_interop.h 2010-05-21 00:05:08.000000000 +0200
-@@ -83,7 +83,7 @@
- {
- cudaGLMapFlagsNone = 0, ///< Default; Assume resource can be read/written
- cudaGLMapFlagsReadOnly = 1, ///< CUDA kernels will not write to this resource
-- cudaGLMapFlagsWriteDiscard = 2, ///< CUDA kernels will only write to and will not read from this resource
-+ cudaGLMapFlagsWriteDiscard = 2 ///< CUDA kernels will only write to and will not read from this resource
- };
-
- extern __host__ cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj);
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-2.2-r3.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-2.2-r3.ebuild
deleted file mode 100644
index c631d1290415..000000000000
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-2.2-r3.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-2.2-r3.ebuild,v 1.4 2012/02/05 05:37:49 vapier Exp $
-
-EAPI=2
-
-inherit eutils unpacker
-
-DESCRIPTION="NVIDIA CUDA Toolkit"
-HOMEPAGE="http://developer.nvidia.com/cuda"
-
-CUDA_V=${PV//./_}
-
-BASE_URI="http://developer.download.nvidia.com/compute/cuda/${CUDA_V}/toolkit"
-SRC_URI="amd64? ( ${BASE_URI}/cudatoolkit_${PV}_linux_64_rhel4.7.run
- debugger? ( ${BASE_URI}/cudagdb_2.2_linux_64_rhel5.3.run ) )
- x86? ( ${BASE_URI}/cudatoolkit_${PV}_linux_32_rhel4.7.run
- debugger? ( ${BASE_URI}/cudagdb_2.2_linux_32_rhel5.3.run ) )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debugger doc profiler"
-
-RDEPEND="${DEPEND}
- profiler? ( x86? (
- x11-libs/qt-gui
- x11-libs/qt-core
- x11-libs/qt-assistant
- x11-libs/qt-sql[sqlite] )
- )
- debugger? ( >=sys-libs/libtermcap-compat-2.0.8-r2 )"
-
-S="${WORKDIR}"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-enum_fix.patch"
-}
-
-src_install() {
- local DEST=/opt/cuda
- export CONF_LIBDIR_OVERRIDE="lib"
-
- # HACK: temporary workaround until CONF_LIBDIR_OVERRIDE is respected.
- export LIBDIR_amd64="lib"
-
- into ${DEST}
- dobin bin/*
- dolib lib/*
-
- chmod a-x "${D}/${DEST}/bin/nvcc.profile"
-
- # doman does not respect DESTTREE
- insinto ${DEST}/man/man1
- doins man/man1/*
- insinto ${DEST}/man/man3
- doins man/man3/*
- prepman ${DEST}
-
- insinto ${DEST}/include
- doins include/*.h
- insinto ${DEST}/include/crt
- doins include/crt/*.h
-
- insinto ${DEST}/src
- doins src/*
-
- into ${DEST}/open64
- dobin open64/bin/*
- libopts -m0755
- dolib open64/lib/*
-
- if use doc ; then
- insinto ${DEST}/doc
- doins -r doc/*
- fi
-
- cat > "${T}/env" << EOF
-PATH=${DEST}/bin
-ROOTPATH=${DEST}/bin
-LDPATH=${DEST}/lib
-MANPATH=${DEST}/man
-EOF
- newenvd "${T}/env" 99cuda
-
- if use profiler; then
- into ${DEST}/cudaprof
- dobin cudaprof/bin/cudaprof
-
- cat > "${T}/env" << EOF
-PATH=${DEST}/cudaprof/bin
-ROOTPATH=${DEST}/cudaprof/bin
-EOF
- if use x86 ; then
- dosym /usr/bin/assistant ${DEST}/cudaprof/bin
- else
- dobin cudaprof/bin/assistant
- insinto ${DEST}/cudaprof/bin
- doins cudaprof/bin/*.so*
- insinto ${DEST}/cudaprof/bin/sqldrivers
- doins cudaprof/bin/sqldrivers/*
-
- cat >> "${T}/env" << EOF
-LDPATH=${DEST}/cudaprof/bin
-EOF
- fi
-
- newenvd "${T}/env" 99cudaprof
-
- if use doc; then
- insinto ${DEST}/cudaprof/doc
- doins cudaprof/doc/*
- insinto ${DEST}/cudaprof/projects
- doins cudaprof/projects/*
- fi
- fi
-}
-
-pkg_postinst() {
- elog "If you want to natively run the code generated by CUDA, you will need"
- elog ">=x11-drivers/nvidia-drivers-185.18.08."
- elog ""
- elog "This CUDA toolkit release does not support gcc-4.4. Please make sure"
- elog "to switch to a lower GCC version before using nvcc."
- elog ""
- elog "Run '. /etc/profile' before using the CUDA toolkit. "
-}
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-2.3.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-2.3.ebuild
deleted file mode 100644
index e0c762811c69..000000000000
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-2.3.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-2.3.ebuild,v 1.7 2012/02/05 05:37:49 vapier Exp $
-
-EAPI=2
-
-inherit eutils multilib unpacker
-
-DESCRIPTION="NVIDIA CUDA Toolkit"
-HOMEPAGE="http://developer.nvidia.com/cuda"
-
-CUDA_V=${PV//./_}
-
-BASE_URI="http://developer.download.nvidia.com/compute/cuda/${CUDA_V}/toolkit"
-SRC_URI="amd64? ( ${BASE_URI}/cudatoolkit_${PV}_linux_64_rhel5.3.run )
- x86? ( ${BASE_URI}/cudatoolkit_${PV}_linux_32_rhel5.3.run )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debugger doc profiler"
-
-RDEPEND="${DEPEND}
- >=sys-devel/gcc-4.0
- profiler? ( x86? (
- x11-libs/qt-gui
- x11-libs/qt-core
- x11-libs/qt-assistant
- x11-libs/qt-sql[sqlite] )
- )
- debugger? ( >=sys-libs/libtermcap-compat-2.0.8-r2 )"
-
-S="${WORKDIR}"
-
-src_install() {
- local DEST=/opt/cuda
-
- into ${DEST}
- dobin bin/*
- dolib $(get_libdir)/*
-
- if ! use debugger; then
- rm -f "${D}/${DEST}/bin/cuda-gdb"
- fi
-
- chmod a-x "${D}/${DEST}/bin/nvcc.profile"
-
- # doman does not respect DESTTREE
- insinto ${DEST}/man/man1
- doins man/man1/*
- insinto ${DEST}/man/man3
- doins man/man3/*
- prepman ${DEST}
-
- insinto ${DEST}/include
- doins include/*.h
- insinto ${DEST}/include/crt
- doins include/crt/*.h
-
- insinto ${DEST}/src
- doins src/*
-
- if use doc ; then
- insinto ${DEST}/doc
- doins -r doc/*
- fi
-
- cat > "${T}/env" << EOF
-PATH=${DEST}/bin
-ROOTPATH=${DEST}/bin
-LDPATH=${DEST}/$(get_libdir)
-MANPATH=${DEST}/man
-EOF
- newenvd "${T}/env" 99cuda
-
- if use profiler; then
- into ${DEST}/cudaprof
- dobin cudaprof/bin/cudaprof
-
- cat > "${T}/env" << EOF
-PATH=${DEST}/cudaprof/bin
-ROOTPATH=${DEST}/cudaprof/bin
-EOF
- if use x86 ; then
- dosym /usr/bin/assistant ${DEST}/cudaprof/bin
- else
- dobin cudaprof/bin/assistant
- insinto ${DEST}/cudaprof/bin
- doins cudaprof/bin/*.so*
- insinto ${DEST}/cudaprof/bin/sqldrivers
- doins cudaprof/bin/sqldrivers/*
-
- cat >> "${T}/env" << EOF
-LDPATH=${DEST}/cudaprof/bin
-EOF
- fi
-
- newenvd "${T}/env" 99cudaprof
-
- if use doc; then
- insinto ${DEST}/cudaprof
- doins cudaprof/CUDA_Visual_Profiler_Release_Notes.txt
- insinto ${DEST}/cudaprof/doc
- doins cudaprof/doc/*
- insinto ${DEST}/cudaprof/projects
- doins cudaprof/projects/*
- fi
- fi
-
- export CONF_LIBDIR_OVERRIDE="lib"
- # HACK: temporary workaround until CONF_LIBDIR_OVERRIDE is respected.
- export LIBDIR_amd64="lib"
-
- into ${DEST}/open64
- dobin open64/bin/*
- libopts -m0755
- dolib open64/lib/*
-}
-
-pkg_postinst() {
- elog "If you want to natively run the code generated by this version of the"
- elog "CUDA toolkit, you will need >=x11-drivers/nvidia-drivers-190.38."
- elog ""
- elog "Run '. /etc/profile' before using the CUDA toolkit. "
-}
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.0.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.0.ebuild
deleted file mode 100644
index 458bcf2288ff..000000000000
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.0.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.0.ebuild,v 1.12 2012/02/21 21:42:21 spock Exp $
-
-EAPI=2
-
-inherit eutils multilib unpacker
-
-DESCRIPTION="NVIDIA CUDA Toolkit"
-HOMEPAGE="http://developer.nvidia.com/cuda"
-
-CUDA_V=${PV//_/-}
-DIR_V=${CUDA_V//./_}
-DIR_V=${DIR_V//beta/Beta}
-
-BASE_URI="http://developer.download.nvidia.com/compute/cuda/${DIR_V}/toolkit"
-SRC_URI="amd64? ( ${BASE_URI}/cudatoolkit_${CUDA_V}_linux_64_rhel5.3.run )
- x86? ( ${BASE_URI}/cudatoolkit_${CUDA_V}_linux_32_rhel5.3.run )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debugger doc profiler opencl"
-
-RDEPEND="${DEPEND}
- >=sys-devel/binutils-2.20
- >=sys-devel/gcc-4.0
- profiler? ( x86? (
- x11-libs/qt-gui
- x11-libs/qt-core
- x11-libs/qt-assistant
- x11-libs/qt-sql[sqlite] )
- media-libs/libpng:1.2
- )
- debugger? ( >=sys-libs/libtermcap-compat-2.0.8-r2 )"
-
-S="${WORKDIR}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-enum_fix.patch
-}
-
-src_install() {
- local DEST=/opt/cuda
-
- into ${DEST}
- dobin bin/*
- dolib $(get_libdir)/*
-
- if ! use debugger; then
- rm -f "${D}/${DEST}/bin/cuda-gdb"
- fi
-
- chmod a-x "${D}/${DEST}/bin/nvcc.profile"
-
- # doman does not respect DESTTREE
- insinto ${DEST}/man/man1
- doins man/man1/*
- insinto ${DEST}/man/man3
- doins man/man3/*
- prepman ${DEST}
-
- insinto ${DEST}/include
- doins -r include/*
-
- insinto ${DEST}/src
- doins src/*
-
- if use doc ; then
- insinto ${DEST}/doc
- doins -r doc/*
- fi
-
- cat > "${T}/env" << EOF
-PATH=${DEST}/bin
-ROOTPATH=${DEST}/bin
-LDPATH=${DEST}/$(get_libdir)
-MANPATH=${DEST}/man
-EOF
- newenvd "${T}/env" 99cuda
-
- if use profiler; then
- local targets="cudaprof"
- if use opencl; then
- targets="${targets} openclprof"
- fi
-
- for target in ${targets}; do
- into ${DEST}/${target}
- dobin ${target}/bin/${target}
-
- cat > "${T}/env" << EOF
-PATH=${DEST}/${target}/bin
-ROOTPATH=${DEST}/${target}/bin
-EOF
- if use x86 ; then
- dosym /usr/bin/assistant ${DEST}/${target}/bin
- else
- dobin ${target}/bin/assistant
- insinto ${DEST}/${target}/bin
- doins ${target}/bin/*.so*
- insinto ${DEST}/${target}/bin/sqldrivers
- doins ${target}/bin/sqldrivers/*
-
- cat >> "${T}/env" << EOF
-LDPATH=${DEST}/${target}/bin
-EOF
- fi
-
- newenvd "${T}/env" 99${target}
-
- if use doc; then
- insinto ${DEST}/${target}
- doins ${target}/*.txt
- insinto ${DEST}/${target}/doc
- doins ${target}/doc/*
- insinto ${DEST}/${target}/projects
- doins ${target}/projects/*
- fi
-
- if [ "$target" == "cudaprof" ]; then
- make_desktop_entry /opt/cuda/cudaprof/bin/cudaprof "CUDA Visual Profiler"
- else
- make_desktop_entry /opt/cuda/openclprof/bin/openclprof "OpenCL Visual Profiler"
- fi
- done
- fi
-
- export CONF_LIBDIR_OVERRIDE="lib"
- # HACK: temporary workaround until CONF_LIBDIR_OVERRIDE is respected.
- export LIBDIR_amd64="lib"
-
- into ${DEST}/open64
- dobin open64/bin/*
- libopts -m0755
- dolib open64/lib/*
-}
-
-pkg_postinst() {
- elog "If you want to natively run the code generated by this version of the"
- elog "CUDA toolkit, you will need >=x11-drivers/nvidia-drivers-195.36.15."
- elog ""
- elog "Run '. /etc/profile' before using the CUDA toolkit. "
-}
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.1.ebuild
deleted file mode 100644
index 5ab2323a98e2..000000000000
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.1.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.1.ebuild,v 1.9 2012/02/21 21:42:21 spock Exp $
-
-EAPI=2
-
-inherit eutils multilib unpacker
-
-DESCRIPTION="NVIDIA CUDA Toolkit"
-HOMEPAGE="http://developer.nvidia.com/cuda"
-
-CUDA_V=${PV//_/-}
-DIR_V=${CUDA_V//./_}
-DIR_V=${DIR_V//beta/Beta}
-
-BASE_URI="http://developer.download.nvidia.com/compute/cuda/${DIR_V}/toolkit"
-SRC_URI="amd64? ( ${BASE_URI}/cudatoolkit_${CUDA_V}_linux_64_ubuntu9.10.run )
- x86? ( ${BASE_URI}/cudatoolkit_${CUDA_V}_linux_32_ubuntu9.10.run )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debugger doc profiler"
-
-RDEPEND="${DEPEND}
- >=sys-devel/binutils-2.20
- >=sys-devel/gcc-4.0
- profiler? ( x86? (
- x11-libs/qt-gui
- x11-libs/qt-core
- x11-libs/qt-assistant
- x11-libs/qt-sql[sqlite] )
- media-libs/libpng:1.2
- )
- debugger? ( >=sys-libs/libtermcap-compat-2.0.8-r2 )"
-
-S="${WORKDIR}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-enum_fix.patch
-}
-
-src_install() {
- local DEST=/opt/cuda
-
- into ${DEST}
- dobin bin/*
- dolib $(get_libdir)/*
-
- if ! use debugger; then
- rm -f "${D}/${DEST}/bin/cuda-gdb"
- fi
-
- chmod a-x "${D}/${DEST}/bin/nvcc.profile"
-
- # doman does not respect DESTTREE
- insinto ${DEST}/man/man1
- doins man/man1/*
- insinto ${DEST}/man/man3
- doins man/man3/*
- prepman ${DEST}
-
- insinto ${DEST}/include
- doins -r include/*
-
- insinto ${DEST}/src
- doins src/*
-
- if use doc ; then
- insinto ${DEST}/doc
- doins -r doc/*
- fi
-
- cat > "${T}/env" << EOF
-PATH=${DEST}/bin
-ROOTPATH=${DEST}/bin
-LDPATH=${DEST}/$(get_libdir)
-MANPATH=${DEST}/man
-EOF
- newenvd "${T}/env" 99cuda
-
- if use profiler; then
- local target="computeprof"
-
- into ${DEST}/${target}
- dobin ${target}/bin/${target}
-
- cat > "${T}/env" << EOF
-PATH=${DEST}/${target}/bin
-ROOTPATH=${DEST}/${target}/bin
-EOF
- if use x86 ; then
- dosym /usr/bin/assistant ${DEST}/${target}/bin
-
- insinto ${DEST}/${target}/bin
- doins ${target}/bin/cudaapitrace.so
- else
- dobin ${target}/bin/assistant
- insinto ${DEST}/${target}/bin
- doins ${target}/bin/*.so*
- insinto ${DEST}/${target}/bin/sqldrivers
- doins ${target}/bin/sqldrivers/*
-
- cat >> "${T}/env" << EOF
-LDPATH=${DEST}/${target}/bin
-EOF
- fi
-
- newenvd "${T}/env" 99${target}
-
- if use doc; then
- insinto ${DEST}/${target}
- doins ${target}/*.txt
- insinto ${DEST}/${target}/doc
- doins ${target}/doc/*
- insinto ${DEST}/${target}/projects
- doins ${target}/projects/*
- fi
-
- make_desktop_entry /opt/cuda/computeprof/bin/computeprof "NVIDIA Compute Visual Profiler"
- fi
-
- export CONF_LIBDIR_OVERRIDE="lib"
- # HACK: temporary workaround until CONF_LIBDIR_OVERRIDE is respected.
- export LIBDIR_amd64="lib"
-
- into ${DEST}/open64
- dobin open64/bin/*
- libopts -m0755
- dolib open64/lib/*
-}
-
-pkg_postinst() {
- elog "If you want to natively run the code generated by this version of the"
- elog "CUDA toolkit, you will need >=x11-drivers/nvidia-drivers-256.22."
- elog ""
- elog "Run '. /etc/profile' before using the CUDA toolkit. "
-}
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.2.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.2.ebuild
deleted file mode 100644
index d24a49e24d63..000000000000
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.2.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-3.2.ebuild,v 1.7 2012/02/21 21:42:21 spock Exp $
-
-EAPI=2
-
-inherit eutils multilib unpacker
-
-DESCRIPTION="NVIDIA CUDA Toolkit"
-HOMEPAGE="http://developer.nvidia.com/cuda"
-RESTRICT="binchecks"
-
-CUDA_V=${PV//_/-}
-DIR_V=${CUDA_V//./_}
-DIR_V=${DIR_V//beta/Beta}
-
-BASE_URI="http://developer.download.nvidia.com/compute/cuda/${DIR_V}_prod/toolkit"
-SRC_URI="amd64? ( ${BASE_URI}/cudatoolkit_${CUDA_V}.16_linux_64_ubuntu10.04.run )
- x86? ( ${BASE_URI}/cudatoolkit_${CUDA_V}.16_linux_32_ubuntu10.04.run )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debugger doc profiler"
-
-RDEPEND="${DEPEND}
- >=sys-devel/binutils-2.20
- >=sys-devel/gcc-4.0
- profiler? ( x86? (
- x11-libs/qt-gui
- x11-libs/qt-core
- x11-libs/qt-assistant
- x11-libs/qt-sql[sqlite] )
- media-libs/libpng:1.2
- )
- debugger? ( >=sys-libs/libtermcap-compat-2.0.8-r2 )
- !<=x11-drivers/nvidia-drivers-256.53"
-
-S="${WORKDIR}"
-
-#QA_DT_HASH_x86="opt/cuda/.*"
-#QA_DT_HASH_amd64="opt/cuda/.*"
-
-src_install() {
- local DEST=/opt/cuda
-
- into ${DEST}
- dobin bin/*
- dolib $(get_libdir)/*
-
- if ! use debugger; then
- rm -f "${D}/${DEST}/bin/cuda-gdb"
- fi
-
- chmod a-x "${D}/${DEST}/bin/nvcc.profile"
-
- # TODO: Manuals are missing from this release. Remove the following
- # commented-out lines if they are not restored in the next releases.
- # doman does not respect DESTTREE
- #insinto ${DEST}/man/man1
- #doins man/man1/*
- #insinto ${DEST}/man/man3
- #doins man/man3/*
- #prepman ${DEST}
-
- insinto ${DEST}/include
- doins -r include/*
-
- insinto ${DEST}/src
- doins src/*
-
- if use doc ; then
- insinto ${DEST}/doc
- doins -r doc/*
- fi
-
- cat > "${T}/env" << EOF
-PATH=${DEST}/bin
-ROOTPATH=${DEST}/bin
-LDPATH=${DEST}/$(get_libdir)
-MANPATH=${DEST}/man
-EOF
- newenvd "${T}/env" 99cuda
-
- if use profiler; then
- local target="computeprof"
-
- into ${DEST}/${target}
- dobin ${target}/bin/${target}
-
- cat > "${T}/env" << EOF
-PATH=${DEST}/${target}/bin
-ROOTPATH=${DEST}/${target}/bin
-EOF
- if use x86 ; then
- dosym /usr/bin/assistant ${DEST}/${target}/bin
-
- insinto ${DEST}/${target}/bin
- doins ${target}/bin/cudaapitrace.so
- else
- dobin ${target}/bin/assistant
- insinto ${DEST}/${target}/bin
- doins ${target}/bin/*.so*
- insinto ${DEST}/${target}/bin/sqldrivers
- doins ${target}/bin/sqldrivers/*
-
- cat >> "${T}/env" << EOF
-LDPATH=${DEST}/${target}/bin
-EOF
- fi
-
- newenvd "${T}/env" 99${target}
-
- if use doc; then
- insinto ${DEST}/${target}
- doins ${target}/*.txt
- insinto ${DEST}/${target}/doc
- doins ${target}/doc/*
- insinto ${DEST}/${target}/projects
- doins ${target}/projects/*
- fi
-
- make_desktop_entry /opt/cuda/computeprof/bin/computeprof "NVIDIA Compute Visual Profiler"
- fi
-
- export CONF_LIBDIR_OVERRIDE="lib"
- # HACK: temporary workaround until CONF_LIBDIR_OVERRIDE is respected.
- export LIBDIR_amd64="lib"
-
- into ${DEST}/open64
- dobin open64/bin/*
- libopts -m0755
- dolib open64/lib/*
-}
-
-pkg_postinst() {
- elog "If you want to natively run the code generated by this version of the"
- elog "CUDA toolkit, you will need >=x11-drivers/nvidia-drivers-260.19.21."
- elog ""
- elog "Run '. /etc/profile' before using the CUDA toolkit. "
-}