commit:     9471d18985b5e9ab21582a1de09958f7d78cce5b
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 17 07:14:14 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 07:17:56 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9471d189

dev-util/nvidia-cuda-sdk: Drop old

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

 dev-util/nvidia-cuda-sdk/Manifest                  |   5 -
 ...idia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch | 111 ---------------
 ...cuda-sdk-2.10.1215.2015-vararg_inline_fix.patch |  21 ---
 .../files/nvidia-cuda-sdk-4.2.9-asneeded.patch     |  89 ------------
 .../files/nvidia-cuda-sdk-6.0.37-asneeded.patch    |  22 ---
 .../nvidia-cuda-sdk/nvidia-cuda-sdk-5.5.22.ebuild  | 146 -------------------
 .../nvidia-cuda-sdk/nvidia-cuda-sdk-6.5.19.ebuild  | 155 ---------------------
 .../nvidia-cuda-sdk/nvidia-cuda-sdk-7.0.28.ebuild  | 144 -------------------
 8 files changed, 693 deletions(-)

diff --git a/dev-util/nvidia-cuda-sdk/Manifest 
b/dev-util/nvidia-cuda-sdk/Manifest
index dcbfa74..98d73d6 100644
--- a/dev-util/nvidia-cuda-sdk/Manifest
+++ b/dev-util/nvidia-cuda-sdk/Manifest
@@ -1,8 +1,3 @@
-DIST cuda_5.5.22_linux_32.run 686412076 SHA256 
0e7aad303807bb0ede8f6f6e825cfcd0f9ddb677bc8cc898ec38990b8226778d SHA512 
e2e4fbc78c2e6373b3f81778d8044b299429459e8e27632e86c0d97e6fe7f4db7cd5652044beb0ce7ee3c7abaa7dcec7d85639a2de4b9cc213ab52a2d204aa6b
 WHIRLPOOL 
e5df7de03aaec8488a7fa093e272d64b5d3adaedca1458c550d4ae9c6bf2a0ead71496c8a0c9aac966500aa01401e95cc57a951e3a2554e8d823b97c10336850
-DIST cuda_5.5.22_linux_64.run 849417929 SHA256 
b997e1dbe95704e0e806e0cedc5fd370a385351fef565c7bae0917baf3a29aa4 SHA512 
25233b34a35fdb5ee3479a87c89484a00dcd760837436c263c3eb8731cbd24a9ed3fb57ce2d4e5bf7cd31abb9b0d990b45720a5f6a376b2488de4506a7c57c20
 WHIRLPOOL 
550594121a53feae4e74a4dc9ba40c4cd2ac91305f23397cd7ea421fcb801e3ce8fcf90f439c966accca44d586bc51d85ef3e211f35fd751dc9299dd07d65175
 DIST cuda_6.5.14_linux_32.run 76788277 SHA256 
63fa1fe5d013e9944d6c1a3a71768fa4dcb35d6a157c1b06765bb56198c205c5 SHA512 
89649ee0f4543b37037b7c8f5ed0b8bd502512afb4d93e3158b3df4786123be05a5288986b5abbfe15c14eb010777d2527b715225bea96a354a898c34e4a2fcc
 WHIRLPOOL 
c1094dd84883ef08d91c6eec3634a285496418db1e76b70f449f833dcb01069a620af504b6df7fe2752559688ed1f60f4adda8c97d849d648cba1be0f8196954
 DIST cuda_6.5.14_linux_64.run 972320904 SHA256 
f3e527f34f317314fe8fcd8c85f10560729069298c0f73105ba89225db69da48 SHA512 
fecca731b86955f5bc7b09d88b02951e3ee5d4b1f1cf5f92658227a029b87cd35d6ac22956a5fa0afe62dcdc57191f1d12bb08c9f7cc05128727cd8455947b1e
 WHIRLPOOL 
0b890771dcca352168fed1b1df9b29504b03f8c29da59cec29914c541283998edf65f5ca6a41362143a2d5d7359822b036894f563c56b39583b1ac4c64e35180
-DIST cuda_6.5.19_linux_32.run 81882112 SHA256 
9f767f38b84f52c097bec81669f99e4a6c4c9c09b5da1bc09fe49e0f804bc7a6 SHA512 
1ce9bd6b472b7e4f1fb181eb340dfcb757714d59a89aaa02146cfe1a97c8ccb7eb7699b4ec823276f277eb4d82d95050eaba17e7ed5fd2e47b9b5d78531c5d4e
 WHIRLPOOL 
ac94b4e7f29811b4240623fb69b3c54214e7f0c60a286d899944dbab9da7fd3c122760199a3357667e33879bd48fbf352d5d39029acca6021e7caf21785557ed
-DIST cuda_6.5.19_linux_64.run 982446238 SHA256 
5279bc159b72b7445d8aae5f289d24bb4042c35422ef32da68049d8f666d3ff5 SHA512 
06854f020a5f72cf4bd714859e6966248ac2f589284113674e869fdaa1254cae27d4101940758ecda5df4724ad3e448a1f6d0c053b6cbc28107750872b6a5797
 WHIRLPOOL 
6ae8e53719e12997de60ec3688167f3fe33b1145d01217182e39ac386c25b358c8ba6cee45ad6c80e33ef66fd9a511338dce4589f10a31635b8437b6e528fd7a
-DIST cuda_7.0.28_linux.run 1118797679 SHA256 
d1292e9c2bbaddad24c46e0b0d15a7130831bfac0382f7159321f41ae385a5ce SHA512 
f002433133e40000cbb78283e08c25f7397612957c0440605311f8921bcebd54a808069ca36b218be66a054e8afab4871b2bf1bd4d419c6f98a0d74b00a9bc78
 WHIRLPOOL 
dcf21d2e356a1797b9e79ac9edfb3924a1d4a2914382dbe21b2172c200dd4f7d93905ac44fbc2e994ce14b7ab28e78163f4c81ddcc6cbb97e4ce085efd2d8475
 DIST cuda_7.5.18_linux.run 1195431560 SHA256 
245ffb6c1e2b69d323f8ae3a1b63d3384fec3934222e56e9d801ecc0d6e919c5 SHA512 
cb933512fde09376b1d6040c72d24c4f91dc44f73322ca87aa7d1f34156c9c87feea41f9a00f1a403cfb89645b5e7a6a5f2bfe4933703ba81f0cf94968d430fd
 WHIRLPOOL 
b1a06acba02043fabf496ba683fb984b1c90df2cd71396457f664beb8cb26b2e3074c8568ec6ce0cfe565721986670c7a40351a29a4856a7e03268c14d545247

diff --git 
a/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch
 
b/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch
deleted file mode 100644
index 53ce974..0000000
--- 
a/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-2.02.0807.1535-make_cpp_fix.patch
+++ /dev/null
@@ -1,111 +0,0 @@
-diff -Naurp sdk/common/inc/cmd_arg_reader.h 
sdk-fixed/common/inc/cmd_arg_reader.h
---- sdk/common/inc/cmd_arg_reader.h    2008-09-02 22:17:26.000000000 +0200
-+++ sdk-fixed/common/inc/cmd_arg_reader.h      2008-10-15 22:10:45.000000000 
+0200
-@@ -37,6 +37,7 @@
- #include <iostream>
- #include <sstream>
- #include <algorithm>
-+#include <typeinfo>
- 
- // includes, project
- #include <exception.h>
-diff -Naurp sdk/common/inc/exception.h sdk-fixed/common/inc/exception.h
---- sdk/common/inc/exception.h 2008-09-02 22:17:26.000000000 +0200
-+++ sdk-fixed/common/inc/exception.h   2008-10-15 23:57:46.000000000 +0200
-@@ -32,6 +32,7 @@
- #define _EXCEPTION_H_
- 
- // includes, system
-+#include <cstdlib>
- #include <exception>
- #include <stdexcept>
- #include <iostream>
-diff -Naurp sdk/common/src/cmd_arg_reader.cpp 
sdk-fixed/common/src/cmd_arg_reader.cpp
---- sdk/common/src/cmd_arg_reader.cpp  2008-09-02 22:17:26.000000000 +0200
-+++ sdk-fixed/common/src/cmd_arg_reader.cpp    2008-10-15 22:10:23.000000000 
+0200
-@@ -35,6 +35,8 @@
- // includes, system
- #include <vector>
- 
-+#include <typeinfo>
-+
- // internal unnamed namespace
- 
- namespace 
-diff -Naurp sdk/common/src/cutil.cpp sdk-fixed/common/src/cutil.cpp
---- sdk/common/src/cutil.cpp   2008-09-02 22:17:26.000000000 +0200
-+++ sdk-fixed/common/src/cutil.cpp     2008-10-15 23:56:15.000000000 +0200
-@@ -36,6 +36,7 @@
- #include <cutil.h>
- 
- // includes, system
-+#include <cstring>
- #include <fstream>
- #include <vector>
- #include <iostream>
-diff -Naurp sdk/common/src/paramgl.cpp sdk-fixed/common/src/paramgl.cpp
---- sdk/common/src/paramgl.cpp 2008-09-02 22:17:26.000000000 +0200
-+++ sdk-fixed/common/src/paramgl.cpp   2008-10-15 23:58:10.000000000 +0200
-@@ -4,6 +4,7 @@
-     sgg 8/2001
- */
- 
-+#include <cstring>
- #include <param.h>
- #include <paramgl.h>
- 
-diff -Naurp sdk/Makefile sdk-fixed/Makefile
---- sdk/Makefile       2008-09-02 22:17:26.000000000 +0200
-+++ sdk-fixed/Makefile 2008-10-16 13:42:42.000000000 +0200
-@@ -2,32 +2,32 @@
- PROJECTS := $(shell find projects -name Makefile)
- 
- %.ph_build : lib/libcutil.so lib/libparamgl.so lib/librendercheckgl.so
--      make -C $(dir $*) $(MAKECMDGOALS)
-+      $(MAKE) -C $(dir $*) $(MAKECMDGOALS)
- 
- %.ph_clean : 
--      make -C $(dir $*) clean $(USE_DEVICE)
-+      $(MAKE) -C $(dir $*) clean $(USE_DEVICE)
- 
- %.ph_clobber :
--      make -C $(dir $*) clobber $(USE_DEVICE)
-+      $(MAKE) -C $(dir $*) clobber $(USE_DEVICE)
- 
- all:  $(addsuffix .ph_build,$(PROJECTS))
-       @echo "Finished building all"
- 
- lib/libcutil.so:
--      @make -C common
-+      @$(MAKE) -C common
- 
- lib/libparamgl.so:
--      @make -C common -f Makefile_paramgl
-+      @$(MAKE) -C common -f Makefile_paramgl
- 
- lib/librendercheckgl.so:
--      @make -C common -f Makefile_rendercheckgl
-+      @$(MAKE) -C common -f Makefile_rendercheckgl
- 
- tidy:
-       @find | egrep "#" | xargs rm -f
-       @find | egrep "\~" | xargs rm -f
- 
- clean: tidy $(addsuffix .ph_clean,$(PROJECTS))
--      @make -C common clean
-+      @$(MAKE) -C common clean
- 
- clobber: clean $(addsuffix .ph_clobber,$(PROJECTS))
--      @make -C common clobber
-+      @$(MAKE) -C common clobber
-diff -Naurp sdk/projects/cppIntegration/main.cpp 
sdk-fixed/projects/cppIntegration/main.cpp
---- sdk/projects/cppIntegration/main.cpp       2008-09-02 22:17:33.000000000 
+0200
-+++ sdk-fixed/projects/cppIntegration/main.cpp 2008-10-15 23:59:14.000000000 
+0200
-@@ -41,6 +41,7 @@
- 
- // includes, system
- #include <iostream>
-+#include <cstdlib>
- 
- // Required to include CUDA vector types
- #include <vector_types.h>

diff --git 
a/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-2.10.1215.2015-vararg_inline_fix.patch
 
b/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-2.10.1215.2015-vararg_inline_fix.patch
deleted file mode 100644
index 8029abc..0000000
--- 
a/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-2.10.1215.2015-vararg_inline_fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naurp cuda-orig/sdk/common/common.mk cuda/sdk/common/common.mk
---- cuda-orig/sdk/common/common.mk     2009-03-22 10:59:39.000000000 +0100
-+++ cuda/sdk/common/common.mk  2009-03-22 11:31:55.000000000 +0100
-@@ -100,6 +99,8 @@ NVCCFLAGS := 
- CXXFLAGS  := $(CXXWARN_FLAGS)
- CFLAGS    := $(CWARN_FLAGS)
- 
-+NVCCFLAGS += -include=vararg-fix.h
-+
- # Common flags
- COMMONFLAGS += $(INCLUDES) -DUNIX
- 
-diff -Naurp cuda-orig/sdk/common/inc/vararg-fix.h 
cuda/sdk/common/inc/vararg-fix.h
---- cuda-orig/sdk/common/inc/vararg-fix.h      1970-01-01 01:00:00.000000000 
+0100
-+++ cuda/sdk/common/inc/vararg-fix.h   2009-03-22 11:17:11.000000000 +0100
-@@ -0,0 +1,5 @@
-+#ifndef __CUDA_VARARG_FIX
-+#define __CUDA_VARARG_FIX
-+// HACK: avoid compilation errors with GCC 4.3.3+
-+int __builtin_va_arg_pack();
-+#endif

diff --git 
a/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-4.2.9-asneeded.patch 
b/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-4.2.9-asneeded.patch
deleted file mode 100644
index f639b96..0000000
--- a/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-4.2.9-asneeded.patch
+++ /dev/null
@@ -1,89 +0,0 @@
---- a/sdk/C/common/common.mk
-+++ b/sdk/C/common/common.mk
-@@ -268,18 +268,18 @@ endif
- 
- # If dynamically linking to CUDA and CUDART, we exclude the libraries from 
the LIB
- ifeq ($(USECUDADYNLIB),1)
--     LIB += ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB} -ldl 
-rdynamic 
-+     LIB += $(RENDERCHECKGLLIB) ${OPENGLLIB} $(PARAMGLLIB) ${LIB} -ldl 
-rdynamic 
- else
- # static linking, we will statically link against CUDA and CUDART
-   ifeq ($(USEDRVAPI),1)
--     LIB += -lcuda   ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB} 
-+     LIB += -lcuda $(RENDERCHECKGLLIB) ${OPENGLLIB} $(PARAMGLLIB) ${LIB} 
-   else
-      ifeq ($(emu),1) 
-          LIB += -lcudartemu
-      else 
-          LIB += -lcudart
-      endif
--     LIB += ${OPENGLLIB} $(PARAMGLLIB) $(RENDERCHECKGLLIB) ${LIB}
-+     LIB += $(RENDERCHECKGLLIB) ${OPENGLLIB} $(PARAMGLLIB) ${LIB}
-   endif
- endif
- 
---- a/sdk/CUDALibraries/common/common_cudalib.mk
-+++ b/sdk/CUDALibraries/common/common_cudalib.mk
-@@ -253,7 +253,7 @@ ifeq ($(USEPARAMGL),1)
- endif
- 
- ifeq ($(USERENDERCHECKGL),1)
--      RENDERCHECKGLLIB := -lrendercheckgl_$(LIB_ARCH)$(LIBSUFFIX)
-+      RENDERCHECKGLLIB := -L../../../C/lib 
-lrendercheckgl_$(LIB_ARCH)$(LIBSUFFIX)
- endif
- 
- ifeq ($(USENVCUVID), 1)
---- a/sdk/CUDALibraries/src/boxFilterNPP/Makefile
-+++ b/sdk/CUDALibraries/src/boxFilterNPP/Makefile
-@@ -38,7 +38,7 @@ include ../../common/common_npplib.mk
- # Targets
- 
################################################################################
- all:
--      $(CXX) $(INC) $(LIB) -o boxFilterNPP boxFilterNPP.cpp 
-lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH)
-+      $(CXX) $(INC) -o boxFilterNPP boxFilterNPP.cpp -lUtilNPP_$(LIB_ARCH) 
-lfreeimage$(FREEIMAGELIBARCH) $(LIB)
-       mkdir -p ../../bin
-       mkdir -p ../../bin/$(OSLOWER)/
-       mkdir -p ../../bin/$(OSLOWER)/debug
---- a/sdk/CUDALibraries/src/freeImageInteropNPP/Makefile
-+++ b/sdk/CUDALibraries/src/freeImageInteropNPP/Makefile
-@@ -38,7 +38,7 @@ include ../../common/common_npplib.mk
- # Targets
- 
################################################################################
- all:
--      $(CXX) $(INC) $(LIB) -o freeImageInteropNPP freeImageInteropNPP.cpp 
-lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH)
-+      $(CXX) $(INC) -o freeImageInteropNPP freeImageInteropNPP.cpp 
-lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH) $(LIB)
-       mkdir -p ../../bin
-       mkdir -p ../../bin/$(OSLOWER)
-       mkdir -p ../../bin/$(OSLOWER)/release
---- a/sdk/CUDALibraries/src/histEqualizationNPP/Makefile
-+++ b/sdk/CUDALibraries/src/histEqualizationNPP/Makefile
-@@ -38,7 +38,7 @@ include ../../common/common_npplib.mk
- # Targets
- 
################################################################################
- all:
--      $(CXX) $(INC) $(LIB) -o histEqualizationNPP histEqualizationNPP.cpp 
-lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH)
-+      $(CXX) $(INC) -o histEqualizationNPP histEqualizationNPP.cpp 
-lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH) $(LIB)
-       mkdir -p ../../bin
-       mkdir -p ../../bin/$(OSLOWER)
-       mkdir -p ../../bin/$(OSLOWER)/release
---- a/sdk/CUDALibraries/src/imageSegmentationNPP/Makefile
-+++ b/sdk/CUDALibraries/src/imageSegmentationNPP/Makefile
-@@ -38,7 +38,7 @@ include ../../common/common_npplib.mk
- # Targets
- 
################################################################################
- all:
--      $(CXX) $(INC) $(LIB) -o imageSegmentationNPP imageSegmentationNPP.cpp 
-lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH)
-+      $(CXX) $(INC) -o imageSegmentationNPP imageSegmentationNPP.cpp 
-lUtilNPP_$(LIB_ARCH) -lfreeimage$(FREEIMAGELIBARCH) $(LIB)
-       mkdir -p ../../bin
-       mkdir -p ../../bin/$(OSLOWER)
-       mkdir -p ../../bin/$(OSLOWER)/release
---- a/sdk/CUDALibraries/src/randomFog/Makefile
-+++ b/sdk/CUDALibraries/src/randomFog/Makefile
-@@ -45,6 +45,7 @@ CCFILES              := randomFog.cpp rng.cpp
- USECURAND   := 1
- USEGLLIB    := 1
- USEGLUT     := 1
-+USERENDERCHECKGL := 1
- 
- 
################################################################################
- # Rules and targets

diff --git 
a/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-6.0.37-asneeded.patch 
b/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-6.0.37-asneeded.patch
deleted file mode 100644
index c414578..0000000
--- a/dev-util/nvidia-cuda-sdk/files/nvidia-cuda-sdk-6.0.37-asneeded.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/cuda-samples/0_Simple/cudaOpenMP/Makefile
-+++ b/cuda-samples/0_Simple/cudaOpenMP/Makefile
-@@ -166,7 +166,7 @@
-   endif
- endif
- 
--GOMPLIB         ?= $(shell find $(OPENMPDIR)/libgomp* 2>/dev/null)
-+GOMPLIB         ?= $(shell find $(OPENMPDIR) -type f -name libgomp* 
2>/dev/null)
- 
- ifeq ($(GOMPLIB),)
-       $(info 
-----------------------------------------------------------------------------------------------)
---- a/cuda-samples/0_Simple/UnifiedMemoryStreams/Makefile
-+++ b/cuda-samples/0_Simple/UnifiedMemoryStreams/Makefile
-@@ -166,7 +166,7 @@
-   endif
- endif
- 
--GOMPLIB         ?= $(shell find $(OPENMPDIR)/libgomp* 2>/dev/null)
-+GOMPLIB         ?= $(shell find $(OPENMPDIR) -type f -name libgomp* 
2>/dev/null)
- 
- ifeq ($(GOMPLIB),)
-       $(info 
-----------------------------------------------------------------------------------------------)

diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-5.5.22.ebuild 
b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-5.5.22.ebuild
deleted file mode 100644
index 93c729b..0000000
--- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-5.5.22.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit cuda eutils flag-o-matic toolchain-funcs unpacker versionator
-
-MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
-
-DESCRIPTION="NVIDIA CUDA Software Development Kit"
-HOMEPAGE="http://developer.nvidia.com/cuda";
-CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers";
-SRC_URI="
-       amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
-       x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
-
-LICENSE="CUDPP"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="debug +doc +examples opencl +cuda"
-
-RDEPEND="
-       ~dev-util/nvidia-cuda-toolkit-${PV}
-       media-libs/freeglut
-       examples? (
-               media-libs/freeimage
-               media-libs/glew
-               virtual/mpi
-               >=x11-drivers/nvidia-drivers-304.54
-               )"
-DEPEND="${RDEPEND}"
-
-RESTRICT="test"
-
-S=${WORKDIR}/cuda-samples
-
-QA_EXECSTACK=(
-       opt/cuda/sdk/0_Simple/cdpSimplePrint/cdpSimplePrint
-       opt/cuda/sdk/0_Simple/cdpSimpleQuicksort/cdpSimpleQuicksort
-       opt/cuda/sdk/bin/x86_64/linux/release/cdpSimplePrint
-       opt/cuda/sdk/bin/x86_64/linux/release/cdpSimpleQuicksort
-       )
-
-src_unpack() {
-       unpacker
-       unpacker run_files/cuda-samples*run
-}
-
-pkg_setup() {
-       if use cuda || use opencl; then
-               cuda_pkg_setup
-       fi
-}
-
-src_prepare() {
-       export RAWLDFLAGS="$(raw-ldflags)"
-
-       sed \
-               -e 's:-O2::g' \
-               -e 's:-O3::g' \
-               -e "/LINK/s:gcc:$(tc-getCC) ${LDFLAGS}:g" \
-               -e "/LINK/s:g++:$(tc-getCXX) ${LDFLAGS}:g" \
-               -e "/CC/s:gcc:$(tc-getCC):g" \
-               -e "/GCC/s:g++:$(tc-getCXX):g" \
-               -e "/ CFLAGS/s|\(:=\)|\1 ${CFLAGS}|g" \
-               -e "/ CXXFLAGS/s|\(:=\)|\1 ${CXXFLAGS}|g" \
-               -e "/NVCCFLAGS/s|\(:=\)|\1 ${NVCCFLAGS} |g" \
-               -e 's:-Wimplicit::g' \
-               -e "s|../../common/lib/linux/\$(OS_ARCH)/libGLEW.a|$(pkg-config 
--libs glew)|g" \
-               -e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$(pkg-config 
--libs glew)|g" \
-               -e 
"s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs 
glew)|g" \
-               -i $(find . -type f -name "Makefile") || die
-
-       sed \
-               -e "/^LDFLAGS/s|\(:=\)$|\1 ${LDFLAGS}|g" \
-               -i 0_Simple/simpleMPI/Makefile || die
-
-#              -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \
-       find common/inc/GL -delete || die
-       find . -type f -name "*\.a" -delete || die
-}
-
-src_compile() {
-       use examples || return
-       local myopts verbose="verbose=1"
-       use debug && myopts+=" dbg=1"
-       export FAKEROOTKEY=1 # Workaround sandbox issue in #462602
-       emake \
-               cuda-install="${EPREFIX}/opt/cuda" \
-               CUDA_PATH="${EPREFIX}/opt/cuda/" \
-               ${myopts} ${verbose}
-}
-
-src_test() {
-       local _dir _subdir
-
-       addwrite /dev/nvidiactl
-       addwrite /dev/nvidia0
-
-       for _dir in {0..9}*; do
-               pushd ${_dir} > /dev/null
-               for _subdir in *; do
-                       emake -C ${_subdir} run
-               done
-               popd > /dev/null
-       done
-}
-
-src_install() {
-       local i j f t crap=""
-       if use doc; then
-               ebegin "Installing docs ..."
-               dodoc -r doc releaseNotesData
-               dohtml *htm*
-               eend
-       fi
-
-       crap+=" *.txt doc Samples.htm* releaseNotesData"
-
-       ebegin "Cleaning before installation..."
-       for i in ${crap}; do
-               if [[ -e ${i} ]]; then
-                       find ${i} -delete || die
-               fi
-       done
-       eend
-
-       ebegin "Moving files..."
-       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/sdk/${t}
-                               doexe ${f}
-                       else
-                               insinto /opt/cuda/sdk/${t}
-                               doins ${f}
-                       fi
-               fi
-       done
-       eend
-}

diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-6.5.19.ebuild 
b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-6.5.19.ebuild
deleted file mode 100644
index e7cc421..0000000
--- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-6.5.19.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cuda eutils flag-o-matic portability toolchain-funcs unpacker 
versionator
-
-MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
-
-DESCRIPTION="NVIDIA CUDA Software Development Kit"
-HOMEPAGE="http://developer.nvidia.com/cuda";
-CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/installers";
-SRC_URI="
-       amd64? ( ${CURI}/cuda_${PV}_linux_64.run )
-       x86? ( ${CURI}/cuda_${PV}_linux_32.run )"
-
-LICENSE="CUDPP"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug +doc +examples opencl +cuda"
-
-RDEPEND="
-       ~dev-util/nvidia-cuda-toolkit-${PV}
-       media-libs/freeglut
-       examples? (
-               media-libs/freeimage
-               media-libs/glew
-               virtual/mpi
-               >=x11-drivers/nvidia-drivers-340.32[uvm]
-               x86? ( <x11-drivers/nvidia-drivers-346.35[uvm] )
-               )"
-DEPEND="${RDEPEND}"
-
-RESTRICT="test"
-
-S=${WORKDIR}/cuda-samples
-
-QA_EXECSTACK=(
-       opt/cuda/sdk/0_Simple/cdpSimplePrint/cdpSimplePrint
-       opt/cuda/sdk/0_Simple/cdpSimpleQuicksort/cdpSimpleQuicksort
-       opt/cuda/sdk/bin/x86_64/linux/release/cdpSimplePrint
-       opt/cuda/sdk/bin/x86_64/linux/release/cdpSimpleQuicksort
-       )
-
-src_unpack() {
-       unpacker
-       unpacker run_files/cuda-samples*run
-}
-
-pkg_setup() {
-       if use cuda || use opencl; then
-               cuda_pkg_setup
-       fi
-
-       if use x86; then
-               ewarn "Starting with version 6.5 NVIDIA dropped more and more"
-               ewarn "the support for 32bit linux."
-               ewarn "Be aware that bugfixes and new features may not be 
available."
-               ewarn 
"https://dev.gentoo.org/~jlec/distfiles/CUDA_Toolkit_Release_Notes.pdf";
-       fi
-}
-
-src_prepare() {
-       export RAWLDFLAGS="$(raw-ldflags)"
-#      epatch "${FILESDIR}"/${P}-asneeded.patch
-
-       sed \
-               -e 's:-O2::g' \
-               -e 's:-O3::g' \
-               -e "/LINK/s:gcc:$(tc-getCC) ${LDFLAGS}:g" \
-               -e "/LINK/s:g++:$(tc-getCXX) ${LDFLAGS}:g" \
-               -e "/CC/s:gcc:$(tc-getCC):g" \
-               -e "/GCC/s:g++:$(tc-getCXX):g" \
-               -e "/NVCC /s|\(:=\).*|:= ${EPREFIX}/opt/cuda/bin/nvcc|g" \
-               -e "/ CFLAGS/s|\(:=\)|\1 ${CFLAGS}|g" \
-               -e "/ CXXFLAGS/s|\(:=\)|\1 ${CXXFLAGS}|g" \
-               -e "/NVCCFLAGS/s|\(:=\)|\1 ${NVCCFLAGS} |g" \
-               -e 's:-Wimplicit::g' \
-               -e "s|../../common/lib/linux/\$(OS_ARCH)/libGLEW.a|$(pkg-config 
--libs glew)|g" \
-               -e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$(pkg-config 
--libs glew)|g" \
-               -e 
"s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs 
glew)|g" \
-               -i $(find . -type f -name "Makefile") || die
-
-#              -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \
-       find common/inc/GL -delete || die
-       find . -type f -name "*\.a" -delete || die
-}
-
-src_compile() {
-       use examples || return
-       local myopts verbose="verbose=1"
-       use debug && myopts+=" dbg=1"
-       export FAKEROOTKEY=1 # Workaround sandbox issue in #462602
-       emake \
-               cuda-install="${EPREFIX}/opt/cuda" \
-               CUDA_PATH="${EPREFIX}/opt/cuda/" \
-               MPI_GCC=10 \
-               ${myopts} ${verbose}
-}
-
-src_test() {
-       local _dir _subdir
-
-       addwrite /dev/nvidiactl
-       addwrite /dev/nvidia0
-
-       for _dir in {0..9}*; do
-               pushd ${_dir} > /dev/null
-               for _subdir in *; do
-                       emake -C ${_subdir} run
-               done
-               popd > /dev/null
-       done
-}
-
-src_install() {
-       local i j f t crap=""
-
-       if use doc; then
-               ebegin "Installing docs ..."
-                       treecopy $(find -type f \( -name readme.txt -o -name 
"*.pdf" \)) "${ED}"/usr/share/doc/${PF}/
-                       docompress -x $(find "${ED}"/usr/share/doc/${PF}/ -type 
f -name readme.txt | sed -e "s:${ED}::")
-               eend
-       fi
-
-       crap+=" *.txt Samples.htm*"
-
-       ebegin "Cleaning before installation..."
-               for i in ${crap}; do
-                       if [[ -e ${i} ]]; then
-                               find ${i} -delete || die
-                       fi
-               done
-               find -type f \( -name "*.o" -o -name "*.pdf" -o -name 
"readme.txt" \) -delete || die
-       eend
-
-       ebegin "Moving files..."
-               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/sdk/${t}
-                                       doexe ${f}
-                               else
-                                       insinto /opt/cuda/sdk/${t}
-                                       doins ${f}
-                               fi
-                       fi
-       done
-       eend
-}

diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-7.0.28.ebuild 
b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-7.0.28.ebuild
deleted file mode 100644
index ad6891a..0000000
--- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-7.0.28.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cuda eutils flag-o-matic portability toolchain-funcs unpacker 
versionator
-
-MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
-
-DESCRIPTION="NVIDIA CUDA Software Development Kit"
-HOMEPAGE="https://developer.nvidia.com/cuda-downloads";
-SRC_URI="http://developer.download.nvidia.com/compute/cuda/${MYD}/Prod/local_installers/cuda_${PV}_linux.run";
-
-LICENSE="CUDPP"
-SLOT="0"
-KEYWORDS="~amd64 ~amd64-linux"
-IUSE="debug +doc +examples opencl +cuda"
-
-RDEPEND="
-       ~dev-util/nvidia-cuda-toolkit-${PV}
-       media-libs/freeglut
-       examples? (
-               media-libs/freeimage
-               media-libs/glew
-               virtual/mpi
-               >=x11-drivers/nvidia-drivers-346.35[uvm]
-               )"
-DEPEND="${RDEPEND}"
-
-RESTRICT="test"
-
-S=${WORKDIR}/samples
-
-QA_EXECSTACK=(
-       opt/cuda/sdk/0_Simple/cdpSimplePrint/cdpSimplePrint
-       opt/cuda/sdk/0_Simple/cdpSimpleQuicksort/cdpSimpleQuicksort
-       opt/cuda/sdk/bin/x86_64/linux/release/cdpSimplePrint
-       opt/cuda/sdk/bin/x86_64/linux/release/cdpSimpleQuicksort
-       )
-
-src_unpack() {
-       unpacker
-       unpacker run_files/cuda-samples*run
-}
-
-pkg_setup() {
-       if use cuda || use opencl; then
-               cuda_pkg_setup
-       fi
-}
-
-src_prepare() {
-       export RAWLDFLAGS="$(raw-ldflags)"
-#      epatch "${FILESDIR}"/${P}-asneeded.patch
-
-       sed \
-               -e 's:-O2::g' \
-               -e 's:-O3::g' \
-               -e "/LINK/s:gcc:$(tc-getCC) ${LDFLAGS}:g" \
-               -e "/LINK/s:g++:$(tc-getCXX) ${LDFLAGS}:g" \
-               -e "/CC/s:gcc:$(tc-getCC):g" \
-               -e "/GCC/s:g++:$(tc-getCXX):g" \
-               -e "/NVCC /s|\(:=\).*|:= ${EPREFIX}/opt/cuda/bin/nvcc|g" \
-               -e "/ CFLAGS/s|\(:=\)|\1 ${CFLAGS}|g" \
-               -e "/ CXXFLAGS/s|\(:=\)|\1 ${CXXFLAGS}|g" \
-               -e "/NVCCFLAGS/s|\(:=\)|\1 ${NVCCFLAGS} |g" \
-               -e 's:-Wimplicit::g' \
-               -e "s|../../common/lib/linux/\$(OS_ARCH)/libGLEW.a|$(pkg-config 
--libs glew)|g" \
-               -e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$(pkg-config 
--libs glew)|g" \
-               -e 
"s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$(pkg-config --libs 
glew)|g" \
-               -i $(find . -type f -name "Makefile") || die
-
-#              -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \
-       find common/inc/GL -delete || die
-       find . -type f -name "*\.a" -delete || die
-}
-
-src_compile() {
-       use examples || return
-       local myopts verbose="verbose=1"
-       use debug && myopts+=" dbg=1"
-       export FAKEROOTKEY=1 # Workaround sandbox issue in #462602
-       emake \
-               cuda-install="${EPREFIX}/opt/cuda" \
-               CUDA_PATH="${EPREFIX}/opt/cuda/" \
-               MPI_GCC=10 \
-               ${myopts} ${verbose}
-}
-
-src_test() {
-       local _dir _subdir
-
-       addwrite /dev/nvidiactl
-       addwrite /dev/nvidia0
-
-       for _dir in {0..9}*; do
-               pushd ${_dir} > /dev/null
-               for _subdir in *; do
-                       emake -C ${_subdir} run
-               done
-               popd > /dev/null
-       done
-}
-
-src_install() {
-       local i j f t crap=""
-
-       if use doc; then
-               ebegin "Installing docs ..."
-                       treecopy $(find -type f \( -name readme.txt -o -name 
"*.pdf" \)) "${ED}"/usr/share/doc/${PF}/
-                       docompress -x $(find "${ED}"/usr/share/doc/${PF}/ -type 
f -name readme.txt | sed -e "s:${ED}::")
-               eend
-       fi
-
-       crap+=" *.txt Samples.htm*"
-
-       ebegin "Cleaning before installation..."
-               for i in ${crap}; do
-                       if [[ -e ${i} ]]; then
-                               find ${i} -delete || die
-                       fi
-               done
-               find -type f \( -name "*.o" -o -name "*.pdf" -o -name 
"readme.txt" \) -delete || die
-       eend
-
-       ebegin "Moving files..."
-               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/sdk/${t}
-                                       doexe ${f}
-                               else
-                                       insinto /opt/cuda/sdk/${t}
-                                       doins ${f}
-                               fi
-                       fi
-       done
-       eend
-}

Reply via email to