summaryrefslogtreecommitdiff
path: root/dev-util/nvidia-cuda-sdk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /dev-util/nvidia-cuda-sdk
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
Diffstat (limited to 'dev-util/nvidia-cuda-sdk')
-rw-r--r--dev-util/nvidia-cuda-sdk/Manifest4
-rw-r--r--dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-8.0.61-r1.ebuild140
-rw-r--r--dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-9.2.88-r1.ebuild140
3 files changed, 0 insertions, 284 deletions
diff --git a/dev-util/nvidia-cuda-sdk/Manifest b/dev-util/nvidia-cuda-sdk/Manifest
index 74a77e9a1167..4b5e613c8f13 100644
--- a/dev-util/nvidia-cuda-sdk/Manifest
+++ b/dev-util/nvidia-cuda-sdk/Manifest
@@ -1,7 +1,3 @@
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
EBUILD nvidia-cuda-sdk-10.2.89-r1.ebuild 3873 BLAKE2B 6af411229608873efcb1cab6b1883f3727b304708fdbc3bf959b307198e33f5c6c3d94b86d51fb1cb4fca5c32858e7efba3cc0a57623c8c6491ebdfa4df89dde SHA512 930fb95d6c805322ac76644846fda59aecb2ac1852686ecdd17f66d0002a42c62f20a0df30d2502d3dce7ca80ed48fe1b59185df0926b12e2ab80269c00dd681
-EBUILD nvidia-cuda-sdk-8.0.61-r1.ebuild 3696 BLAKE2B b58ad0be79f5c004a7782922256e28294078aacb7fd9f1b00b9a8d0188cafe99e786cca7851d4300390ebe49ee64e3947db8b559e4d6c61ff2b7ac084879761b SHA512 110e56b00e0fa984025d2e7f6c544ec2dde9f2c7de07d77291306b1b581c0025dd3dd1b537720f4ec52bdef1a3c059a070299b7a9a65ba4292f37a7d73477055
-EBUILD nvidia-cuda-sdk-9.2.88-r1.ebuild 3691 BLAKE2B 6b8a1e56d5c590a885255501938ee50a7e66cbb1573c33cff126b43be6cc9ca92d96d97c378ec4dfb4b3c1cc9e4b516a720d5d0e6f62bc5211ec4c50008e2399 SHA512 3996f0fe8736c586e034052228771fdf013733b4a9c76e756a16817600bee89dcf0c573f5087fbee35f4a5dde02708708edd95f7a1a23402c6d5fb54600b870b
MISC metadata.xml 367 BLAKE2B 380a027ceec1e6e23fbde9a39fa2a7653a12b5e9e4cb409538245ddbe7420bf1b8ba46b5cc21aed44c6e67966a6e163061114e755ef0fd077ebbe61aebbd06c0 SHA512 7127047682608f4e36f2d44f8bebc26d48b0fa83b010d439a346bd1282034e8711a5de43d76c4cf17e11a12921ef821b9dbb0209a34c514965e05612f742edeb
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
-}