diff options
author | David Seifert <soap@gentoo.org> | 2021-09-24 11:26:09 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-09-24 11:26:09 +0200 |
commit | 045f9c6249b6597ab50e879db9196e7158f51001 (patch) | |
tree | d92a53b7820b9a9388470eb07a4268b0a47d529d /dev-util/nvidia-cuda-sdk | |
parent | dev-libs/cudnn: drop 8.0.5.39, 8.2.1.32 (diff) | |
download | gentoo-045f9c6249b6597ab50e879db9196e7158f51001.tar.gz gentoo-045f9c6249b6597ab50e879db9196e7158f51001.tar.bz2 gentoo-045f9c6249b6597ab50e879db9196e7158f51001.zip |
dev-util/nvidia-cuda-sdk: drop 8.0.61-r1, 9.2.88-r1
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-util/nvidia-cuda-sdk')
-rw-r--r-- | dev-util/nvidia-cuda-sdk/Manifest | 2 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-8.0.61-r1.ebuild | 140 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-9.2.88-r1.ebuild | 140 |
3 files changed, 0 insertions, 282 deletions
diff --git a/dev-util/nvidia-cuda-sdk/Manifest b/dev-util/nvidia-cuda-sdk/Manifest index 6ecb53f880f4..e80c872ce2fa 100644 --- a/dev-util/nvidia-cuda-sdk/Manifest +++ b/dev-util/nvidia-cuda-sdk/Manifest @@ -1,3 +1 @@ DIST cuda_10.2.89_440.33.01_linux.run 2645419389 BLAKE2B 236aa70a7b45e3636c2c229fffa7d1ca0699ab4365865a73edab607a209c42c2899133dd6a83c61c5929fa754668ad15aec4d847639af1c00a8e6657c8487c77 SHA512 ad8da539ff5df7caf411d1e497ff3d6978cfa8a1fd9150fa4846089e92a604ea56be8631f3efdfe7229a655b8d2d28e6edb32f5731530a77d6f00241cc7aab6e -DIST cuda_8.0.61_375.26_linux.run 1465528129 BLAKE2B d52ddf1dcf5246f230f210d10d1f6e7b540c892dea5a8cd770f0d062b30b01f5c8467d930430b383464d40a9b4a14eaaf22a365e081955e4452ec4f55e08da0b SHA512 d22303719a9feff64f95bf6a966f1caa2bf0cf8c955e475ce08ce54faa5e098d336c2db223ef0185c1f23b9c52b7d2f81a63515485219cfc016d72bda979248b -DIST cuda_9.2.88_396.26_linux.run 1758421686 BLAKE2B 5068b2dfae87e43c124a6a72ac98b7c562aebc7161e7c977cfba68342127e99705228be531aa5bb8af0318e17c4ef8fe36257452d0f507fc3b82e3fbd0184bdc SHA512 2d0d87926e11a1b21d6d3377138753df458a53ba9539d8399f9f252e0784cb41e2c63a5c724ca81ded82b9657b97fda51d812b467b0827e7d361aa2ad73b2dba diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-8.0.61-r1.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-8.0.61-r1.ebuild deleted file mode 100644 index aae721c174c0..000000000000 --- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-8.0.61-r1.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cuda flag-o-matic portability toolchain-funcs unpacker - -MYD=$(ver_cut 1-2 ${PV}) -DRIVER_PV="375.26" - -DESCRIPTION="NVIDIA CUDA Software Development Kit" -HOMEPAGE="https://developer.nvidia.com/cuda-zone" -SRC_URI="https://developer.nvidia.com/compute/cuda/${MYD}/Prod2/local_installers/cuda_${PV}_${DRIVER_PV}_linux-run -> cuda_${PV}_${DRIVER_PV}_linux.run" - -LICENSE="CUDPP" -SLOT="0" -KEYWORDS="~amd64 ~amd64-linux" -IUSE="+cuda debug +doc +examples opencl mpi" - -RDEPEND=" - ~dev-util/nvidia-cuda-toolkit-${PV} - media-libs/freeglut - examples? ( - media-libs/freeimage - media-libs/glew:0= - >=x11-drivers/nvidia-drivers-375.26[uvm(+)] - mpi? ( virtual/mpi ) - )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -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() { - # We first need to unpack the cuda_${PV}_linux.run file - # which includes the cuda-samples*run file. - unpacker - unpacker run_files/cuda-samples*run -} - -src_prepare() { - cuda_src_prepare - - export RAWLDFLAGS="$(raw-ldflags)" - - local file - while IFS="" read -d $'\0' -r file; do - sed \ - -e 's:-O[23]::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|$($(tc-getPKG_CONFIG) --libs glew)|g" \ - -e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$($(tc-getPKG_CONFIG) --libs glew)|g" \ - -e "s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$($(tc-getPKG_CONFIG) --libs glew)|g" \ - -i "${file}" || die - # -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \ - done < <(find . -type f -name 'Makefile' -print0) - - rm -rf common/inc/GL || die - find . -type f -name '*.a' -delete || die - - eapply_user -} - -src_compile() { - use examples || return - local myopts=("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[@]}" -} - -src_test() { - addwrite /dev/nvidiactl - addwrite /dev/nvidia0 - - local i - for i in {0..9}*/*; do - emake -C "${i}" run - done -} - -src_install() { - local f t crap=( *.txt Samples.htm* ) - - if use doc; then - ebegin "Installing docs ..." - while IFS="" read -d $'\0' -r f; do - treecopy "${f}" "${ED}"/usr/share/doc/${PF}/ - done < <(find -type f \( -name 'readme.txt' -o -name '*.pdf' \) -print0) - - while IFS="" read -d $'\0' -r f; do - docompress -x "${f#${ED}}" - done < <(find "${ED}"/usr/share/doc/${PF}/ -type f -name 'readme.txt' -print0) - eend - fi - - ebegin "Cleaning before installation..." - for f in "${crap[@]}"; do - rm -f "${f}" || die - done - find -type f \( -name '*.o' -o -name '*.pdf' -o -name 'readme.txt' \) -delete || die - eend - - ebegin "Moving files..." - while IFS="" read -d $'\0' -r f; do - t="$(dirname ${f})" - if [[ ${t/obj\/} != ${t} || ${t##*.} == a ]]; then - continue - fi - if [[ -x ${f} ]]; then - exeinto /opt/cuda/sdk/"${t}" - doexe "${f}" - else - insinto /opt/cuda/sdk/"${t}" - doins "${f}" - fi - done < <(find . -type f -print0) - eend -} diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-9.2.88-r1.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-9.2.88-r1.ebuild deleted file mode 100644 index 60b72621e478..000000000000 --- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-9.2.88-r1.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cuda flag-o-matic portability toolchain-funcs unpacker - -MYD=$(ver_cut 1-2 ${PV}) -DRIVER_PV="396.26" - -DESCRIPTION="NVIDIA CUDA Software Development Kit" -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="CUDPP" -SLOT="0" -KEYWORDS="~amd64 ~amd64-linux" -IUSE="+cuda debug +doc +examples opencl mpi" - -RDEPEND=" - ~dev-util/nvidia-cuda-toolkit-${PV} - media-libs/freeglut - examples? ( - media-libs/freeimage - media-libs/glew:0= - >=x11-drivers/nvidia-drivers-396.24[uvm(+)] - mpi? ( virtual/mpi ) - )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -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() { - # We first need to unpack the cuda_${PV}_linux.run file - # which includes the cuda-samples*run file. - unpacker - unpacker run_files/cuda-samples*run -} - -src_prepare() { - cuda_src_prepare - - export RAWLDFLAGS="$(raw-ldflags)" - - local file - while IFS="" read -d $'\0' -r file; do - sed \ - -e 's:-O[23]::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|$($(tc-getPKG_CONFIG) --libs glew)|g" \ - -e "s|../../common/lib/\$(OSLOWER)/libGLEW.a|$($(tc-getPKG_CONFIG) --libs glew)|g" \ - -e "s|../../common/lib/\$(OSLOWER)/\$(OS_ARCH)/libGLEW.a|$($(tc-getPKG_CONFIG) --libs glew)|g" \ - -i "${file}" || die - # -e "/ALL_LDFLAGS/s|:=|:= ${RAWLDFLAGS} |g" \ - done < <(find . -type f -name 'Makefile' -print0) - - rm -rf common/inc/GL || die - find . -type f -name '*.a' -delete || die - - eapply_user -} - -src_compile() { - use examples || return - local myopts=("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[@]}" -} - -src_test() { - addwrite /dev/nvidiactl - addwrite /dev/nvidia0 - - local i - for i in {0..9}*/*; do - emake -C "${i}" run - done -} - -src_install() { - local f t crap=( *.txt Samples.htm* ) - - if use doc; then - ebegin "Installing docs ..." - while IFS="" read -d $'\0' -r f; do - treecopy "${f}" "${ED}"/usr/share/doc/${PF}/ - done < <(find -type f \( -name 'readme.txt' -o -name '*.pdf' \) -print0) - - while IFS="" read -d $'\0' -r f; do - docompress -x "${f#${ED}}" - done < <(find "${ED}"/usr/share/doc/${PF}/ -type f -name 'readme.txt' -print0) - eend - fi - - ebegin "Cleaning before installation..." - for f in "${crap[@]}"; do - rm -f "${f}" || die - done - find -type f \( -name '*.o' -o -name '*.pdf' -o -name 'readme.txt' \) -delete || die - eend - - ebegin "Moving files..." - while IFS="" read -d $'\0' -r f; do - t="$(dirname ${f})" - if [[ ${t/obj\/} != ${t} || ${t##*.} == a ]]; then - continue - fi - if [[ -x ${f} ]]; then - exeinto /opt/cuda/sdk/"${t}" - doexe "${f}" - else - insinto /opt/cuda/sdk/"${t}" - doins "${f}" - fi - done < <(find . -type f -print0) - eend -} |