diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-08-14 06:11:02 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-08-14 06:11:02 +0000 |
commit | 186ef03d319ecc012c4d848907758f93abd666ed (patch) | |
tree | b67190eee3f4544b7db183764e6c5c6baa7b3bef /dev-util | |
parent | app-text/multitail: Drop old (diff) | |
download | gentoo-2-186ef03d319ecc012c4d848907758f93abd666ed.tar.gz gentoo-2-186ef03d319ecc012c4d848907758f93abd666ed.tar.bz2 gentoo-2-186ef03d319ecc012c4d848907758f93abd666ed.zip |
dev-util/nvidia-cuda-sdk: Drop old
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/nvidia-cuda-sdk/ChangeLog | 6 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-2.02.0807.1535.ebuild | 70 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.9-r2.ebuild | 116 |
3 files changed, 5 insertions, 187 deletions
diff --git a/dev-util/nvidia-cuda-sdk/ChangeLog b/dev-util/nvidia-cuda-sdk/ChangeLog index dda3c6ee97ef..fb447aa0ebae 100644 --- a/dev-util/nvidia-cuda-sdk/ChangeLog +++ b/dev-util/nvidia-cuda-sdk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/nvidia-cuda-sdk # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.47 2014/08/13 09:07:09 nativemad Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/ChangeLog,v 1.48 2014/08/14 06:11:02 jlec Exp $ + + 14 Aug 2014; Justin Lecher <jlec@gentoo.org> + -nvidia-cuda-sdk-2.02.0807.1535.ebuild, -nvidia-cuda-sdk-4.2.9-r2.ebuild: + Drop old 13 Aug 2014; Andreas Schuerch <nativemad@gentoo.org> nvidia-cuda-sdk-5.5.22.ebuild: diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-2.02.0807.1535.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-2.02.0807.1535.ebuild deleted file mode 100644 index 796654fd746d..000000000000 --- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-2.02.0807.1535.ebuild +++ /dev/null @@ -1,70 +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-sdk/nvidia-cuda-sdk-2.02.0807.1535.ebuild,v 1.12 2012/07/31 07:37:19 zerochaos Exp $ - -inherit eutils unpacker toolchain-funcs - -DESCRIPTION="NVIDIA CUDA Software Development Kit" -HOMEPAGE="http://developer.nvidia.com/cuda" - -SRC_URI="http://developer.download.nvidia.com/compute/cuda/2_0/linux/sdk/NVIDIA_CUDA_SDK_${PV}_linux.run" -LICENSE="CUDPP" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug emulation" - -DEPEND="dev-util/nvidia-cuda-toolkit - >=x11-drivers/nvidia-drivers-177.73 - media-libs/freeglut" - -S="${WORKDIR}" -RESTRICT="binchecks" - -pkg_setup() { - if [ "$(gcc-major-version)" == "4" -a $(gcc-minor-version) -ge 4 ]; then - eerror "This package requires <=sys-devel/gcc-4.3 to build sucessfully." - eerror "Please use gcc-config to switch to a compatible GCC version." - die "<=sys-devel/gcc-4.3 required" - fi -} - -src_unpack() { - unpack_makeself - cd "${S}" - epatch "${FILESDIR}/${P}-make_cpp_fix.patch" - sed -i -e 's:CUDA_INSTALL_PATH ?= .*:CUDA_INSTALL_PATH ?= /opt/cuda:' sdk/common/common.mk -} - -src_compile() { - local myopts="" - - if use emulation; then - myopts="emu=1" - fi - - if use debug; then - myopts="${myopts} dbg=1" - fi - - cd "${S}/sdk" - emake cuda-install=/opt/cuda ${myopts} || die -} - -src_install() { - cd "${S}/sdk" - - for f in $(find .); do - local t="$(dirname ${f})" - if [[ "${t/obj\/}" != "${t}" || "${t##*.}" == "a" ]]; then - continue - fi - - if [[ -x "${f}" && ! -d "${f}" ]]; then - exeinto "/opt/cuda/sdk/$(dirname ${f})" - doexe "${f}" - else - insinto "/opt/cuda/sdk/$(dirname ${f})" - doins "${f}" - fi - done -} diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.9-r2.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.9-r2.ebuild deleted file mode 100644 index 7e9676a7132e..000000000000 --- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.9-r2.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-4.2.9-r2.ebuild,v 1.1 2013/01/23 09:24:30 jlec Exp $ - -EAPI=4 - -inherit cuda eutils 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" -SRC_URI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/sdk/gpucomputingsdk_${PV}_linux.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? ( - >=x11-drivers/nvidia-drivers-296 - media-libs/glew - )" -DEPEND="${RDEPEND}" - -S=${WORKDIR} - -pkg_setup() { - if use cuda || use opencl; then - cuda_pkg_setup - fi -} - -src_prepare() { - 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 "/LINKFLAGS/s:=:= ${LDFLAGS} :g" \ - -e "/CC/s:gcc:$(tc-getCC):g" \ - -e "/CXX/s:g++:$(tc-getCXX):g" \ - -e "/NVCCFLAGS/s|\(:=\)|\1 ${NVCCFLAGS} |g" \ - -e "/ CFLAGS/s|\(:=\)|\1 ${CFLAGS}|g" \ - -e "/ CXXFLAGS/s|\(:=\)|\1 ${CXXFLAGS}|g" \ - -e 's:-Wimplicit::g' \ - -e 's:GLEW_x86_64:GLEW:g' \ - -i $(find sdk -type f -name "*.mk") || die - - sed \ - -e "s:/usr/local/cuda:${EPREFIX}/opt/cuda:g" \ - -i sdk/shared/common.mk sdk/C/common/common.mk || die - - find sdk/shared/inc/GL -delete || die - find sdk -type f -name "*\.a" -delete || die -} - -src_compile() { - use examples || return - local myopts verbose="verbose=1" - use debug && myopts+=" dbg=1" - cd sdk - use cuda && emake -C C cuda-install="${EPREFIX}/opt/cuda" ${myopts} ${verbose} - use opencl && emake -C OpenCL ${verbose} -} - -src_install() { - local i j f t crap="" - cd sdk - if use doc; then - ebegin "Installing docs ..." - for i in *; do - if [[ -d ${i} ]]; then - for j in doc releaseNotesData; do - docinto ${i} - [[ -d ${i}/${j} ]] && dodoc -r ${i}/${j} - done - fi - done - dodoc -r doc - dohtml {.,*}/*htm* - eend - fi - - crap+=" *.txt doc */doc */Samples.htm* */releaseNotesData" - - if ! use examples; then - crap+=" */bin */tools" - fi - - ebegin "Cleaning before installation..." - find ${crap} -delete || die - find . \( -name Makefile -o -name "*.mk" \) -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 -} |