diff options
author | 2021-07-20 20:27:24 +0100 | |
---|---|---|
committer | 2021-07-20 20:27:24 +0100 | |
commit | 877667439a70f9a9c46881fef824276f3293e1a9 (patch) | |
tree | ec690a35fa1a0b2d94d01b6d45dd34e028a78dbd /dev-util | |
parent | Update manifests after removing deprecated builds (diff) | |
download | ssnb-877667439a70f9a9c46881fef824276f3293e1a9.tar.gz ssnb-877667439a70f9a9c46881fef824276f3293e1a9.tar.bz2 ssnb-877667439a70f9a9c46881fef824276f3293e1a9.zip |
Remove deprecated ebuilds announced in Gentoo QA report
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/nvidia-cuda-sdk/Manifest | 3 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-sdk/metadata.xml | 12 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-9.1.85-r1.ebuild | 144 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/Manifest | 4 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/files/cuda-config.in | 28 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/metadata.xml | 13 | ||||
-rw-r--r-- | dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.1.85-r1.ebuild | 138 |
7 files changed, 0 insertions, 342 deletions
diff --git a/dev-util/nvidia-cuda-sdk/Manifest b/dev-util/nvidia-cuda-sdk/Manifest deleted file mode 100644 index 7b40585..0000000 --- a/dev-util/nvidia-cuda-sdk/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST cuda_9.1.85_387.26_linux.run 1639829845 SHA256 8496c72b16fee61889f9281449b5d633d0b358b46579175c275d85c9205fe953 SHA512 492a5fa58fc93ac718ca093f24bb5e74dd2586338c42f2e11e328c7f16756e3511a1c555b12cb1990bb782d0d1600976f4c9e5b3d4857e371b0431daf06b2827 WHIRLPOOL 8f975fb2a4435f562caf9563a00eb24cb0d0c8b1795ef2e174e2d3cf2bb93bd7683aee7a934f0678d3b8b1305614a848d95b574f06f4f3730f81e75a620a8773 -EBUILD nvidia-cuda-sdk-9.1.85-r1.ebuild 3798 SHA256 4da6c967fb43daf4b357d0b44282f41130321f4b7d976f7e4533a65f5f365e04 SHA512 e5c37b2319ffd7d91b4d24721ffbd4617aec28924ebef86ffd44d7a3de2eeebf726a6bf518cad195261e485f7fc8d4850565ba83186026962ca9d49e49bfdddb WHIRLPOOL 38be1e61a107d9a21e0fb19683cbb4a9d5fb034af6fbdb74a68c327f6dcca003456cc4d9beb5fdb31a0cee3f35ba472202cce97127916da47d86a7454c156715 -MISC metadata.xml 374 SHA256 9105396a077d3de8eaf4e6d37f7b5098ca94bb0cccd54850277799819e04efc0 SHA512 e3ea2a1e2bd5aebb185d34f0006e5dbb7c398d62b826aabd85bf57d361aaecd9252076e0cd71626ee7eed68a3aa057c3428ec215f61c0fe47a2363ca9c63a5f7 WHIRLPOOL 311843578c30feba4652a3693809b398931a7010c7f90c750181738cda9102120e2db168f40b33d0a1752f0808ab59fe48a4b583f5dd60a6a0fedd93238143ed diff --git a/dev-util/nvidia-cuda-sdk/metadata.xml b/dev-util/nvidia-cuda-sdk/metadata.xml deleted file mode 100644 index 958cc3f..0000000 --- a/dev-util/nvidia-cuda-sdk/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>samuelbernardo.mail@gmail.com</email> - <name>Samuel Bernardo</name> - </maintainer> - <use> - <flag name="opencl">Build OpenCL binaries</flag> - <flag name="cuda">Build CUDA binaries</flag> - </use> -</pkgmetadata> diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-9.1.85-r1.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-9.1.85-r1.ebuild deleted file mode 100644 index 1f648f7..0000000 --- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-9.1.85-r1.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cuda flag-o-matic portability toolchain-funcs unpacker versionator - -MYD=$(get_version_component_range 1-2) -DRIVER_PV="387.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 -> 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-${DRIVER_PV}[uvm] - mpi? ( virtual/mpi ) - )" -DEPEND="${RDEPEND}" - -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 -} - -pkg_setup() { - if use cuda || use opencl; then - cuda_pkg_setup - fi -} - -src_prepare() { - export RAWLDFLAGS="$(raw-ldflags)" -# epatch "${FILESDIR}"/${P}-asneeded.patch - - 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-toolkit/Manifest b/dev-util/nvidia-cuda-toolkit/Manifest deleted file mode 100644 index f426669..0000000 --- a/dev-util/nvidia-cuda-toolkit/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX cuda-config.in 406 SHA256 7271463891ff75dd83f4cb42bb3004d3204243d0e38f9cbd5b4ec4560865496a SHA512 df6d16bd2e800868bdf8401b6f82a387b701ea297ddf6e8feb0daf5222e62a33f156e5f45cf1ee4e1aa51559dfbd56b897c257dae1bb9568e839bf806bfebd5b WHIRLPOOL 4a26ee11d97676827cb01644891fdca495c3373585ddfbb5fab9f988186da384f27482c4be9e27d834036ffa87f7ee19f9ad7da2d8536babe874dda4ff991147 -DIST cuda_9.1.85_387.26_linux.run 1639829845 SHA256 8496c72b16fee61889f9281449b5d633d0b358b46579175c275d85c9205fe953 SHA512 492a5fa58fc93ac718ca093f24bb5e74dd2586338c42f2e11e328c7f16756e3511a1c555b12cb1990bb782d0d1600976f4c9e5b3d4857e371b0431daf06b2827 WHIRLPOOL 8f975fb2a4435f562caf9563a00eb24cb0d0c8b1795ef2e174e2d3cf2bb93bd7683aee7a934f0678d3b8b1305614a848d95b574f06f4f3730f81e75a620a8773 -EBUILD nvidia-cuda-toolkit-9.1.85-r1.ebuild 3413 SHA256 ac5179809a340a55d6ff9aa7ceb2f6660f178f6b83872954c70f504d6a021fdf SHA512 b7cdba035e999ec2a7cabcd0c778f3aa444ca440d4b14d67ba048dc05c78d2e4baf2b4a0594806aeafcd83c9251ab001ec2ac47a84a5f284a159ba64dc54e5bd WHIRLPOOL e3b82d7c0085a43cdacdf0ba5f0dcf923ab3185335f1091567cf2b1e84ddb45512ddd420b9352f25fd5e3f0f8b255222653d6004d49444828076a6d0c0e8b71d -MISC metadata.xml 464 SHA256 056e4865c99805b3d194b11b90af1adc282455fa4f963e23ab87631c42daf339 SHA512 4144490531cc15e685ead8460223320148dd3498d96a6ed0430a4f79f6eaca7b67725e8c995387750655d9ac2c2de7678a0914e0a2d3f8848cace37c1b728e6d WHIRLPOOL ae6183e617a845004573dcb60525afdff64131b29ab779758df166ae809b81cb3c649aa1878a83f9b1c81f6a7b333bf86e1f8234d7831d34df4c6a520108c144 diff --git a/dev-util/nvidia-cuda-toolkit/files/cuda-config.in b/dev-util/nvidia-cuda-toolkit/files/cuda-config.in deleted file mode 100644 index ca0d1d7..0000000 --- a/dev-util/nvidia-cuda-toolkit/files/cuda-config.in +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -SUPPORT_GCC_VERSIONS_BY_CUDA="CUDA_SUPPORTED_GCC" - -_print_help() { - cat <<- EOF - Usage: - $(basename $0) [options] - - -s | --supported Returns by current CUDA supported gcc versions - -h | --help Shows this help - EOF -} - -case ${1} in - -s|--supported) - echo "${SUPPORT_GCC_VERSIONS_BY_CUDA}" - exit 0 - ;; - -h|--help) - _print_help - exit -1 - ;; - *) - _print_help - exit 1 - ;; -esac diff --git a/dev-util/nvidia-cuda-toolkit/metadata.xml b/dev-util/nvidia-cuda-toolkit/metadata.xml deleted file mode 100644 index cb3b4f1..0000000 --- a/dev-util/nvidia-cuda-toolkit/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>samuelbernardo.mail@gmail.com</email> - <name>Samuel Bernardo</name> - </maintainer> - <use> - <flag name="profiler">Installs the NVIDIA CUDA visual profiler</flag> - <flag name="debugger">Installs the CUDA debugger</flag> - <flag name="eclipse">Install plugins for eclipse</flag> - </use> -</pkgmetadata> diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.1.85-r1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.1.85-r1.ebuild deleted file mode 100644 index f7be93a..0000000 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-9.1.85-r1.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit check-reqs cuda toolchain-funcs unpacker versionator - -MYD=$(get_version_component_range 1-2) -DRIVER_PV="387.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" - -DEPEND="" -RDEPEND="${DEPEND} - <sys-devel/gcc-7[cxx] - >=x11-drivers/nvidia-drivers-${DRIVER_PV}[X,uvm] - debugger? ( - sys-libs/libtermcap-compat - sys-libs/ncurses:5/5[tinfo] - ) - eclipse? ( >=virtual/jre-1.6 ) - profiler? ( >=virtual/jre-1.6 )" - -S="${WORKDIR}" - -QA_PREBUILT="opt/cuda/*" - -CHECKREQS_DISK_BUILD="3500M" - -pkg_setup() { - # We don't like to run cuda_pkg_setup as it depends on us - check-reqs_pkg_setup -} - -src_unpack() { - unpacker - unpacker run_files/cuda-linux*.run -} - -src_prepare() { - local cuda_supported_gcc - - cuda_supported_gcc="4.7 4.8 4.9 5.3 5.4 6.3 6.4" - - sed \ - -e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \ - "${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die - - sed -i "50 i#define _BITS_FLOATN_H" "${S}/include/host_defines.h" - - 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="$(version_sort $(cuda-config -s))"; a=( $a ) - # greatest supported version - b="${a[${#a[@]}-1]}" - - # if gcc and if not gcc-version is at least greatest supported - if tc-is-gcc && \ - ! version_is_at_least gcc-version ${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 -} |