From 401101f9c8077911929d3f2b60a37098460a5d89 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Mar 2022 23:59:54 +0000 Subject: gentoo resync : 25.03.2022 --- dev-util/nvidia-cuda-toolkit/Manifest | 4 +- dev-util/nvidia-cuda-toolkit/metadata.xml | 1 - .../nvidia-cuda-toolkit-10.2.89-r4.ebuild | 158 --------------------- 3 files changed, 1 insertion(+), 162 deletions(-) delete mode 100644 dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.2.89-r4.ebuild (limited to 'dev-util/nvidia-cuda-toolkit') diff --git a/dev-util/nvidia-cuda-toolkit/Manifest b/dev-util/nvidia-cuda-toolkit/Manifest index 264ff1f3b6fe..5ede57f39c09 100644 --- a/dev-util/nvidia-cuda-toolkit/Manifest +++ b/dev-util/nvidia-cuda-toolkit/Manifest @@ -1,10 +1,8 @@ AUX cuda-config.in 406 BLAKE2B 1f1bb67d1f13da52821d640ac1875affb0ba1562df8c3eb6d2fed24c0639f8e6ff43428701c5a2d1538e444356db5e9854e6ea629a1e3b2e1399ebacef2ca388 SHA512 df6d16bd2e800868bdf8401b6f82a387b701ea297ddf6e8feb0daf5222e62a33f156e5f45cf1ee4e1aa51559dfbd56b897c257dae1bb9568e839bf806bfebd5b -DIST cuda_10.2.89_440.33.01_linux.run 2645419389 BLAKE2B 236aa70a7b45e3636c2c229fffa7d1ca0699ab4365865a73edab607a209c42c2899133dd6a83c61c5929fa754668ad15aec4d847639af1c00a8e6657c8487c77 SHA512 ad8da539ff5df7caf411d1e497ff3d6978cfa8a1fd9150fa4846089e92a604ea56be8631f3efdfe7229a655b8d2d28e6edb32f5731530a77d6f00241cc7aab6e DIST cuda_11.5.1_495.29.05_linux.run 3420998120 BLAKE2B 0d3f9626f97c60291397ebd0edc04e2c84942473d943d95af6fae244e5809721335bb90eaa6c019c9391de516d20599ca5631e99764616b6d25eacf1899d99d9 SHA512 71fb354714cac09265b5102223f919e34e3a8503593dd4f2e7b9542ae7787de96d64c490276b36b685da9e691cc2704419b67cfa376dcd3647e4d0f93b02db9b DIST cuda_11.6.0_510.39.01_linux.run 3488951771 BLAKE2B f66d8b7779dc8e1e06ef5b83f1b565b6d500eb802aac1726c1393e0c0f065960761e8f6cdee955fd87362446331f7cb14febeb42efa5b89d86050e77b61b6ce9 SHA512 257b7b0bce1fa93cc442d8f335aec78681a3e4d457e31f04fb1cd01b91208aa35833f3793d8e2ef6d5db15e86c4d7659adb6ad127c57cbdabaa8dd14ef36a931 DIST cuda_11.6.1_510.47.03_linux.run 3529826023 BLAKE2B 93acd3a2984e89b1458d11051f4927e7bd2ac20bccce9166a2a4efcf16cf01a1ccbb6fa8be2f7a82ef1b5a403e4814c1e24aca493dd246c3a3c16e9107fbc1cc SHA512 75c8f28bcd3de638f780b4d8c5e80cea3023fb0e57b4075bd6905071da273e9d09281d947d660f2e4ab6d71f47c12cc021f12656fd8fbf56d11cf7e520e90a9e -EBUILD nvidia-cuda-toolkit-10.2.89-r4.ebuild 3892 BLAKE2B 3e568112666881cb9c7082dbde2e495642e063ab5826b1fbe1c854a2956ce515f118d6b6d92886b589c1b96e8eaf0e1116f6161f79b3d283752ef7b37006b06e SHA512 8596fb4aa038a2b1ce3f16e2c496a2578ba53d64d68a951744cf27cc8c6924d0df8b89dfbfe67fdab73014e5aa803592acfc7ee06706e547838fcfe485329fa0 EBUILD nvidia-cuda-toolkit-11.5.1-r1.ebuild 7593 BLAKE2B e428e8a25ea69f0274eb87ace918fcb5f13d0c60635a0ead0edbaaf29b85149610b703d41c19094f0d159566d9f5a741841bdc2f5187ec9b50cd5a71f3cd86cd SHA512 d7238f3a1fd3b4585b2e1a374d4ae3ce02bcc2938488bc2a4755f624d6e24fb8650a5f580fd6501e5d28f38879a81c9f19cd5b8af7914b107f5e707e1d0b1e91 EBUILD nvidia-cuda-toolkit-11.6.0.ebuild 7883 BLAKE2B 77a825c4a6f4d92910a36d47e8de59d7c0ceb3593c90592c9adf7566f6c89dc0694029ec84e6a13f37c3079d9f78e99aa1ff4b38437d9e82c2141359d024c3e4 SHA512 f1e565ed37015a363256b31c1aff63dd894ee12dd4e87fb10705f6425dd5cddc890f0f951b97119dd8fd3473f6dd63225b9b04751b8a29a80e311f392caaa332 EBUILD nvidia-cuda-toolkit-11.6.1.ebuild 7883 BLAKE2B 48e3bc6d54e0da99aea1abaaecb3bb3176cd903c934de16e3309eb1d839377840abf1eb94ae39bc33ca543d8eccd2a3e3d476c476cae0063139c6a6274301fa2 SHA512 fb58a51dbf9402264121c09df93861fd7714544890b66c06a9207138571eeebe960165b5dca788132433d0a7bcfd81092755c7fe9e4a5c6625b24fc8413f5e20 -MISC metadata.xml 725 BLAKE2B d956929a7ec405eda0ca359de7edac9760a5b781af053c1ef54405612eae5380796601d13a443c48aed6ff0e7819339d8728dfe3b7a27fef17781aa1a1b6b36a SHA512 c8f9bce93904f604b5bd89367dc7d06c977ba574f3ed8bfe9f8afde0bd7b55706987a79e3e4d3cd79d609cac83a8db2efa693e348a6c825136872ea5d0de4df1 +MISC metadata.xml 671 BLAKE2B 20d0b15061270bdb0604e9e76e8913c9d304c51a05102f92b2ef64cddb1b369705a742aefca28f4d36976bb633d0a2cf090bf3d307ea579121578d29c41264e1 SHA512 09fe8a1c60ca7924e433c5aca460d6a757c9962371b3f2a3c42c2ff1b0dd819f1704dd5943bd31a3e74337ad0f14aa4d7836912a435396c15e4f0daaed33800e diff --git a/dev-util/nvidia-cuda-toolkit/metadata.xml b/dev-util/nvidia-cuda-toolkit/metadata.xml index 468441600353..73fc67a96b66 100644 --- a/dev-util/nvidia-cuda-toolkit/metadata.xml +++ b/dev-util/nvidia-cuda-toolkit/metadata.xml @@ -7,7 +7,6 @@ Install the CUDA debugger - Install Eclipse plugins Install profiling and optimizing tools (nsight-compute, nsight-systems) Install the NVIDIA CUDA profiler (nvprof) and the related libraries Install compute-sanitizer tool diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.2.89-r4.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.2.89-r4.ebuild deleted file mode 100644 index 311eec73bdac..000000000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.2.89-r4.ebuild +++ /dev/null @@ -1,158 +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 - -MYD=$(ver_cut 1-2 ${PV}) -DRIVER_PV="440.33.01" - -DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)" -HOMEPAGE="https://developer.nvidia.com/cuda-zone" -SRC_URI="https://developer.download.nvidia.com/compute/cuda/${MYD}/Prod/local_installers/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=" - =x11-drivers/nvidia-drivers-${DRIVER_PV} - debugger? ( - dev-libs/openssl-compat:1.0.0 - sys-libs/libtermcap-compat - sys-libs/ncurses-compat:5[tinfo] - ) - eclipse? ( - dev-libs/openssl-compat:1.0.0 - >=virtual/jre-1.8:* - ) - profiler? ( - dev-libs/openssl-compat:1.0.0 - >=virtual/jre-1.8:* - )" - -S="${WORKDIR}" - -QA_PREBUILT="opt/cuda/*" - -CHECKREQS_DISK_BUILD="6800M" - -pkg_setup() { - check-reqs_pkg_setup -} - -src_prepare() { - local cuda_supported_gcc - - # ATTENTION: change requires revbump - cuda_supported_gcc="6.5 7.5 8.5" - - 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 ) - local cudadir=/opt/cuda - local ecudadir="${EPREFIX}${cudadir}" - - cd builds/cuda-toolkit - 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 bin/cuda-gdbserver extras/Debugger share/gdb 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 nsightee_plugins nsight-compute-2019.5.0 nsight-systems-2019.5.2 bin/nsight bin/nsight_ee_plugins_manage.sh bin/nvvp bin/computeprof ) - remove+=( extras/CUPTI bin/nvprof ) - fi - - for i in "${remove[@]}"; do - ebegin "Cleaning ${i}..." - rm -r "${i}" || die - eend $? - done - - dodir ${cudadir} - into ${cudadir} - - # Install binaries separately to make sure the X permission is set - local bindirs=( bin nvvm/bin extras/demo_suite $(usex profiler "libnsight/nsight") ) - for i in $(find "${bindirs[@]}" -maxdepth 1 -type f); do - exeinto ${cudadir}/${i%/*} - doexe ${i} - rm ${i} || die - done - exeinto ${cudadir}/bin - doexe "${T}"/cuda-config - - # Install the rest - insinto ${cudadir} - doins -r * - - 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 - - #Cuda prepackages libraries, don't revdep-build on them - echo "SEARCH_DIRS_MASK=\"${ecudadir}\"" > "${T}/80${PN}" || die - insinto "/etc/revdep-rebuild" - doins "${T}/80${PN}" -} - -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 -} -- cgit v1.2.3