summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2014-11-04 02:42:21 +0000
committerPatrick Lauer <patrick@gentoo.org>2014-11-04 02:42:21 +0000
commitbc594b16d20a2d6907f118a07fecf51335ed5d50 (patch)
tree292f919fb7555aa54fb5e2f97620e9ecf5ecfc83 /dev-util
parentversion bump (diff)
downloadgentoo-2-bc594b16d20a2d6907f118a07fecf51335ed5d50.tar.gz
gentoo-2-bc594b16d20a2d6907f118a07fecf51335ed5d50.tar.bz2
gentoo-2-bc594b16d20a2d6907f118a07fecf51335ed5d50.zip
Remove old version that has broken dependencies after toolchain changes
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/nvidia-cuda-toolkit/ChangeLog6
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r2.ebuild134
2 files changed, 5 insertions, 135 deletions
diff --git a/dev-util/nvidia-cuda-toolkit/ChangeLog b/dev-util/nvidia-cuda-toolkit/ChangeLog
index 3e5899ef95cc..c46e126ce580 100644
--- a/dev-util/nvidia-cuda-toolkit/ChangeLog
+++ b/dev-util/nvidia-cuda-toolkit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/nvidia-cuda-toolkit
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.89 2014/09/15 18:54:05 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nvidia-cuda-toolkit/ChangeLog,v 1.90 2014/11/04 02:42:21 patrick Exp $
+
+ 04 Nov 2014; Patrick Lauer <patrick@gentoo.org>
+ -nvidia-cuda-toolkit-4.2.9-r2.ebuild:
+ Remove old version that has broken dependencies after toolchain changes
15 Sep 2014; Justin Lecher <jlec@gentoo.org>
nvidia-cuda-toolkit-6.5.14.ebuild:
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r2.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r2.ebuild
deleted file mode 100644
index fe25d717b173..000000000000
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-4.2.9-r2.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2014 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-4.2.9-r2.ebuild,v 1.9 2014/03/31 20:15:43 jer Exp $
-
-EAPI=5
-
-inherit cuda unpacker versionator
-
-MYD=$(get_version_component_range 1)_$(get_version_component_range 2)
-DISTRO=ubuntu11.04
-
-DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
-HOMEPAGE="http://developer.nvidia.com/cuda"
-CURI="http://developer.download.nvidia.com/compute/cuda/${MYD}/rel/toolkit"
-SRC_URI="
- amd64? ( ${CURI}/cudatoolkit_${PV}_linux_64_${DISTRO}.run )
- x86? ( ${CURI}/cudatoolkit_${PV}_linux_32_${DISTRO}.run )"
-
-SLOT="0"
-LICENSE="NVIDIA-CUDA"
-KEYWORDS="-* amd64 x86 ~amd64-linux ~x86-linux"
-IUSE="debugger doc eclipse profiler"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- || (
- sys-devel/gcc:4.4
- sys-devel/gcc:4.5
- sys-devel/gcc:4.6
- )
- !<=x11-drivers/nvidia-drivers-270.41
- || (
- >=x11-drivers/nvidia-drivers-331[uvm]
- <x11-drivers/nvidia-drivers-331
- )
- debugger? ( sys-libs/libtermcap-compat )
- profiler? ( >=virtual/jre-1.6 )"
-
-S="${WORKDIR}"
-
-QA_PREBUILT="opt/cuda/*"
-
-pkg_setup() {
- # We don't like to run cuda_pkg_setup as it depends on us
- :
-}
-
-src_prepare() {
- local cuda_supported_gcc dfiles files
-
- cuda_supported_gcc="4.4 4.5 4.6"
-
- sed \
- -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
- "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die
-
- dfiles="install-linux.pl libnvvp/jre run_files"
- use amd64 && dfiles+=" cuda-installer.pl"
- for files in ${dfiles}; do
- if [[ -e ${files} ]]; then
- find ${files} -delete || die
- fi
- done
-}
-
-src_install() {
- local i
- local remove="doc"
- local cudadir=/opt/cuda
- local ecudadir="${EPREFIX}"${cudadir}
-
- if use doc; then
- dodoc doc/*{txt,pdf}
- dohtml -r doc/{*.html,html}
- fi
-
- use debugger || remove+=" bin/cuda-gdb extras/Debugger"
-
- if use profiler; then
- # hack found in install-linux.pl
- cat > bin/nvvp <<- EOF
- #!${EPREFIX}bin/sh
- LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \
- UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 ${ecudadir}/libnvvp/nvvp
- EOF
- chmod a+x bin/nvvp
- else
- use eclipse || remove+=" libnvvp"
- remove+=" extras/CUPTI"
- fi
-
- for i in ${remove}; do
- if [[ -e ${i} ]]; then
- find ${i} -delete || die
- fi
- done
-
- dodir ${cudadir}
- mv * "${ED}"${cudadir}
-
- cat > "${T}"/99cuda <<- EOF
- PATH=${ecudadir}/bin:${ecudadir}/libnvvp
- ROOTPATH=${ecudadir}/bin
- LDPATH=${ecudadir}/lib$(use amd64 && echo "64:${ecudadir}/lib")
- EOF
- doenvd "${T}"/99cuda
-
- 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
-}