summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-08-13 18:51:07 +0200
committerDavid Seifert <soap@gentoo.org>2021-08-13 18:51:07 +0200
commit848530a8a03a5ca771ac5d2dc82ca3ce972702d5 (patch)
tree13b21e55aa710bdc5e35eecab123e168ad7a676e
parentmedia-video/pipewire: keyword 0.3.32 for ~riscv (diff)
downloadgentoo-848530a8a03a5ca771ac5d2dc82ca3ce972702d5.tar.gz
gentoo-848530a8a03a5ca771ac5d2dc82ca3ce972702d5.tar.bz2
gentoo-848530a8a03a5ca771ac5d2dc82ca3ce972702d5.zip
dev-util/nvidia-cuda-toolkit: drop 9.2.88-r1
* All GCC versions before 7 are masked and won't be coming back. Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--dev-util/nvidia-cuda-toolkit/Manifest1
-rw-r--r--dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.2.88-r1.ebuild141
2 files changed, 0 insertions, 142 deletions
diff --git a/dev-util/nvidia-cuda-toolkit/Manifest b/dev-util/nvidia-cuda-toolkit/Manifest
index 88575fe980cf..1d6709e8f539 100644
--- a/dev-util/nvidia-cuda-toolkit/Manifest
+++ b/dev-util/nvidia-cuda-toolkit/Manifest
@@ -4,4 +4,3 @@ DIST cuda_11.2.2_460.32.03_linux.run 3057439068 BLAKE2B c3f3cd9eaaa4f91eb8080e7c
DIST cuda_11.3.1_465.19.01_linux.run 3158494112 BLAKE2B 0316c6a9bf062f2503c94604b51dea9a8d19c516e304e43ccdbc79f305a242664b7f029f7b7086edd7adc37d92a3bae074f005b3be412e1361917794cb824686 SHA512 e2db8b4dcb5f6aee2c3e8a8a6848186cdcdd7cd9d5f4bfd069bd3dc2ea500797c66a4592f0e28dcbee6c3611d1f88b6fda6afcd734aa9ef45f4aa17a1527aedb
DIST cuda_11.4.0_470.42.01_linux.run 3773273383 BLAKE2B 2e466728b6ca9d17dc3caadce13b58c8ba1464c2adeb09739f428aea96f5794c87bf84ca2b81c1019d45223ff5e519503d798032a800a370c7e41517d790f5c4 SHA512 17165102e7f64da77588fd47feeee5ce3f3151a2b482bdc005427ad77ada5d0ff5a51dcd40a27a467cd5988968469476ba90b0191aed993806d284833a08ccb1
DIST cuda_11.4.1_470.57.02_linux.run 3796641626 BLAKE2B da6a454bb1765833af8c01f2106a1e0f3e33a6a91354a527006fd0335655872b499bb51662c8e224437368ee37c3bf15f0cf0c4bccc02750e46480ceb6b84677 SHA512 a7a2415e6a0ce6a841e15fccc5c6126d8f134ebb7045e11e49d136aed264c236b91cc959320f763d0d7d878d9d83e09310a51c0ac30c926007dae07242a952de
-DIST cuda_9.2.88_396.26_linux.run 1758421686 BLAKE2B 5068b2dfae87e43c124a6a72ac98b7c562aebc7161e7c977cfba68342127e99705228be531aa5bb8af0318e17c4ef8fe36257452d0f507fc3b82e3fbd0184bdc SHA512 2d0d87926e11a1b21d6d3377138753df458a53ba9539d8399f9f252e0784cb41e2c63a5c724ca81ded82b9657b97fda51d812b467b0827e7d361aa2ad73b2dba
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.2.88-r1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.2.88-r1.ebuild
deleted file mode 100644
index e83886f3dd49..000000000000
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.2.88-r1.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit check-reqs toolchain-funcs unpacker wrapper
-
-MYD=$(ver_cut 1-2 ${PV})
-DRIVER_PV="396.26"
-
-DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
-HOMEPAGE="https://developer.nvidia.com/cuda-zone"
-SRC_URI="https://developer.nvidia.com/compute/cuda/${MYD}/Prod/local_installers/cuda_${PV}_${DRIVER_PV}_linux -> cuda_${PV}_${DRIVER_PV}_linux.run"
-
-LICENSE="NVIDIA-CUDA"
-SLOT="0/${PV}"
-KEYWORDS="-* ~amd64 ~amd64-linux"
-IUSE="debugger doc eclipse profiler"
-RESTRICT="bindist mirror"
-
-BDEPEND=""
-RDEPEND="
- <sys-devel/gcc-8[cxx]
- >=x11-drivers/nvidia-drivers-${DRIVER_PV}
- debugger? (
- sys-libs/libtermcap-compat
- sys-libs/ncurses-compat:5[tinfo]
- )
- eclipse? ( >=virtual/jre-1.8:* )
- profiler? ( >=virtual/jre-1.8:* )"
-
-S="${WORKDIR}"
-
-QA_PREBUILT="opt/cuda/*"
-
-CHECKREQS_DISK_BUILD="3500M"
-
-pkg_setup() {
- check-reqs_pkg_setup
-}
-
-src_unpack() {
- unpacker
- unpacker run_files/cuda-linux*.run
-}
-
-src_prepare() {
- local cuda_supported_gcc
-
- # ATTENTION: change requires revbump
- cuda_supported_gcc="4.7 4.8 4.9 5.3 5.4 6.3 6.4 7.2 7.3"
-
- sed \
- -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
- "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die
-
- default
-}
-
-src_install() {
- local i remove=( doc jre run_files install-linux.pl cuda-installer.pl )
- local cudadir=/opt/cuda
- local ecudadir="${EPREFIX}${cudadir}"
-
- if use doc; then
- DOCS+=( doc/pdf/. )
- HTML_DOCS+=( doc/html/. )
- fi
- einstalldocs
-
- mv doc/man/man3/{,cuda-}deprecated.3 || die
- doman doc/man/man*/*
-
- use debugger || remove+=( bin/cuda-gdb extras/Debugger extras/cuda-gdb-${PV}.src.tar.gz )
-
- if use profiler; then
- # hack found in install-linux.pl
- for i in nvvp nsight; do
- cat > bin/${i} <<- EOF || die
- #!/usr/bin/env sh
- LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:${ecudadir}/lib:${ecudadir}/lib64 \
- UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 \
- ${ecudadir}/lib${i}/${i} -vm ${EPREFIX}/usr/bin/java
- EOF
- chmod a+x bin/${i} || die
- done
- else
- use eclipse || remove+=( libnvvp libnsight )
- remove+=( extras/CUPTI )
- fi
-
- for i in "${remove[@]}"; do
- ebegin "Cleaning ${i}..."
- rm -rf "${i}" || die
- eend
- done
-
- dodir ${cudadir}
- mv * "${ED}${cudadir}" || die
-
- cat > "${T}"/99cuda <<- EOF || die
- PATH=${ecudadir}/bin$(usex profiler ":${ecudadir}/libnvvp" "")
- ROOTPATH=${ecudadir}/bin
- LDPATH=${ecudadir}/lib64:${ecudadir}/lib:${ecudadir}/nvvm/lib64
- EOF
- doenvd "${T}"/99cuda
-
- use profiler && \
- make_wrapper nvprof "${ecudadir}/bin/nvprof" "." "${ecudadir}/lib64:${ecudadir}/lib"
-
- dobin "${T}"/cuda-config
-}
-
-pkg_postinst_check() {
- local a b
- a="$(${EROOT}/opt/cuda/bin/cuda-config -s)"
- b="0.0"
- for v in $a; do
- if ver_test "${v}" -gt "${b}"; then
- b="${v}"
- fi
- done
-
- # if gcc and if not gcc-version is at least greatest supported
- if tc-is-gcc && \
- ver_test $(gcc-version) -gt ${b}; then
- ewarn ""
- 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"
- ewarn ""
- fi
-}
-
-pkg_postinst() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- pkg_postinst_check
- fi
-}