public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-util/nvidia-cuda-sdk/
@ 2022-03-12 18:21 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2022-03-12 18:21 UTC (permalink / raw
  To: gentoo-commits

commit:     603157484a9f59a88defb964fa18af3a2d7f175f
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 18:20:52 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 18:20:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60315748

dev-util/nvidia-cuda-sdk: drop 10.2.89-r1

Closes: https://bugs.gentoo.org/721808
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-util/nvidia-cuda-sdk/Manifest                  |   1 -
 .../nvidia-cuda-sdk-10.2.89-r1.ebuild              | 142 ---------------------
 profiles/package.mask                              |   1 -
 3 files changed, 144 deletions(-)

diff --git a/dev-util/nvidia-cuda-sdk/Manifest b/dev-util/nvidia-cuda-sdk/Manifest
index 0ec3c2e9bff3..d26fbf7cf367 100644
--- a/dev-util/nvidia-cuda-sdk/Manifest
+++ b/dev-util/nvidia-cuda-sdk/Manifest
@@ -1,2 +1 @@
-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

diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.2.89-r1.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.2.89-r1.ebuild
deleted file mode 100644
index 0ddaadfb8164..000000000000
--- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.2.89-r1.ebuild
+++ /dev/null
@@ -1,142 +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="440.33.01"
-
-DESCRIPTION="NVIDIA CUDA Software Development Kit"
-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="CUDPP"
-SLOT="0/${PV}"
-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=
-		!prefix? ( >=x11-drivers/nvidia-drivers-${DRIVER_PV}[uvm(+)] )
-		mpi? ( virtual/mpi )
-	)"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-RESTRICT="test"
-
-S=${WORKDIR}/builds/cuda-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_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
-	done < <(find . -type f -name 'Makefile' -print0)
-
-	# Upstream suggested us skip cudaNvSci https://github.com/NVIDIA/cuda-samples/issues/22
-	rm -rf 0_Simple/cudaNvSci || die
-	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
-}
-
-pkg_postinst() {
-	if use examples && use prefix; then
-		ewarn "Gentoo Prefix does not manage kernel modules.  You need to make certain"
-		ewarn "the function counterpart to >=x11-drivers/nvidia-drivers-${DRIVER_PV}"
-		ewarn "is available from the host"
-	fi
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index e1b0c0ab43c1..9b9fd2315c1a 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -372,7 +372,6 @@ app-misc/emelfm2
 # Requires GCC 8, security vulnerabilities, switch to CUDA 11,
 # consider using clang+NVPTX backend for sm_30 cards.
 # Removal in 90 days, bug #721808, #760708.
-<dev-util/nvidia-cuda-sdk-11
 <dev-util/nvidia-cuda-toolkit-11
 
 # Mart Raudsepp <leio@gentoo.org> (2021-12-18)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-12 18:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-12 18:21 [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-util/nvidia-cuda-sdk/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox