From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/nvidia-cuda-toolkit/
Date: Tue, 22 Apr 2025 00:41:16 +0000 (UTC) [thread overview]
Message-ID: <1745282266.84027216596e05307c8e9bcfc32d20e3ae1f3839.sam@gentoo> (raw)
commit: 84027216596e05307c8e9bcfc32d20e3ae1f3839
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Wed Apr 16 13:30:48 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 22 00:37:46 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84027216
dev-util/nvidia-cuda-toolkit: 12.8.1 12.6.3 use edob, drop DRIVER_VERSION check
DRIVER_VERSION is non functional since it's already determined by the SRC_URI.
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../nvidia-cuda-toolkit-12.6.3.ebuild | 16 ++++------------
.../nvidia-cuda-toolkit-12.8.1.ebuild | 16 ++++------------
2 files changed, 8 insertions(+), 24 deletions(-)
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3.ebuild
index 76f257949e61..b399832628d9 100644
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3.ebuild
+++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3.ebuild
@@ -6,7 +6,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
-inherit check-reqs toolchain-funcs
+inherit check-reqs edo toolchain-funcs
inherit python-r1
DRIVER_PV="560.35.05"
@@ -78,16 +78,7 @@ cuda-toolkit_check_reqs() {
}
cuda_verify() {
- if has_version "sys-apps/grep[pcre]"; then
- local DRIVER_PV_info
- DRIVER_PV_info="$(bash "${DISTDIR}/${A}" --info | grep -oP "cuda_${PV}.*run" | cut -d '_' -f 3)"
-
- if [[ "${DRIVER_PV}" != "${DRIVER_PV_info}" ]]; then
- die "check DRIVER_PV is ${DRIVER_PV} and should be ${DRIVER_PV_info}"
- fi
- fi
-
- # rest only works in with unpacked sources
+ # only works with unpacked sources
[[ "${EBUILD_PHASE}" != prepare ]] && return
# run self checks
@@ -148,7 +139,8 @@ src_unpack() {
"builds/nvidia_fs"
)
- bash "${DISTDIR}/${A}" --tar xf -X <(printf "%s\n" "${exclude[@]}") || die "failed to extract ${A}"
+ edob -m "failed to extract ${A}" \
+ bash "${DISTDIR}/${A}" --tar xf -X <(printf "%s\n" "${exclude[@]}")
}
src_prepare() {
diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.8.1.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.8.1.ebuild
index 23b0993b2eb8..a533da2dc09d 100644
--- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.8.1.ebuild
+++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.8.1.ebuild
@@ -6,7 +6,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
-inherit check-reqs toolchain-funcs
+inherit check-reqs edo toolchain-funcs
inherit python-r1
DRIVER_PV="570.124.06"
@@ -78,16 +78,7 @@ cuda-toolkit_check_reqs() {
}
cuda_verify() {
- if has_version "sys-apps/grep[pcre]"; then
- local DRIVER_PV_info
- DRIVER_PV_info="$(bash "${DISTDIR}/${A}" --info | grep -oP "cuda_${PV}.*run" | cut -d '_' -f 3)"
-
- if [[ "${DRIVER_PV}" != "${DRIVER_PV_info}" ]]; then
- die "check DRIVER_PV is ${DRIVER_PV} and should be ${DRIVER_PV_info}"
- fi
- fi
-
- # rest only works in with unpacked sources
+ # only works with unpacked sources
[[ "${EBUILD_PHASE}" != prepare ]] && return
# run self checks
@@ -148,7 +139,8 @@ src_unpack() {
"builds/nvidia_fs"
)
- bash "${DISTDIR}/${A}" --tar xf -X <(printf "%s\n" "${exclude[@]}") || die "failed to extract ${A}"
+ edob -m "failed to extract ${A}" \
+ bash "${DISTDIR}/${A}" --tar xf -X <(printf "%s\n" "${exclude[@]}")
}
src_prepare() {
next reply other threads:[~2025-04-22 0:41 UTC|newest]
Thread overview: 136+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-22 0:41 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-22 0:41 [gentoo-commits] repo/gentoo:master commit in: dev-util/nvidia-cuda-toolkit/ Sam James
2025-04-22 0:41 Sam James
2025-04-05 0:42 Sam James
2025-04-05 0:42 Sam James
2025-04-05 0:42 Sam James
2025-04-05 0:42 Sam James
2025-03-07 3:40 Sam James
2025-02-23 21:59 Sam James
2024-09-11 9:59 David Seifert
2024-08-27 15:49 David Seifert
2024-07-19 7:25 David Seifert
2024-06-30 14:46 David Seifert
2024-06-06 12:50 David Seifert
2024-06-06 9:38 David Seifert
2024-04-07 9:37 David Seifert
2024-04-07 9:37 David Seifert
2024-03-30 18:35 David Seifert
2024-02-02 10:35 David Seifert
2024-01-03 21:15 David Seifert
2023-12-03 16:49 David Seifert
2023-11-21 12:37 David Seifert
2023-10-31 14:59 David Seifert
2023-10-31 14:59 David Seifert
2023-09-23 9:37 David Seifert
2023-09-04 14:28 David Seifert
2023-08-23 9:02 David Seifert
2023-08-14 7:57 Benda XU
2023-08-11 11:57 David Seifert
2023-07-29 9:41 David Seifert
2023-07-08 12:24 Andreas K. Hüttel
2023-06-29 10:18 David Seifert
2023-06-29 10:18 David Seifert
2023-06-27 14:26 David Seifert
2023-06-27 14:26 David Seifert
2023-06-27 13:11 David Seifert
2023-06-07 6:47 Guilherme Amadio
2023-05-14 21:13 David Seifert
2023-04-18 7:14 Guilherme Amadio
2023-03-30 8:52 David Seifert
2023-02-19 12:24 David Seifert
2023-02-13 9:56 Guilherme Amadio
2022-12-17 19:55 Sam James
2022-11-22 20:52 Sam James
2022-11-19 7:52 Sam James
2022-11-19 7:52 Sam James
2022-11-19 7:44 Sam James
2022-11-19 4:48 David Seifert
2022-11-10 5:06 Arthur Zamarin
2022-10-23 19:57 David Seifert
2022-10-18 18:43 David Seifert
2022-08-22 12:30 David Seifert
2022-06-17 12:55 David Seifert
2022-06-16 16:30 Sam James
2022-06-09 9:28 Guilherme Amadio
2022-03-28 12:43 Guilherme Amadio
2022-02-23 9:48 Guilherme Amadio
2022-01-14 14:02 David Seifert
2021-12-20 10:57 David Seifert
2021-12-05 20:55 David Seifert
2021-12-04 16:37 David Seifert
2021-11-26 20:17 David Seifert
2021-11-09 15:59 Guilherme Amadio
2021-10-21 11:58 David Seifert
2021-10-21 11:58 David Seifert
2021-09-24 9:26 David Seifert
2021-09-09 20:04 David Seifert
2021-08-23 14:23 David Seifert
2021-08-23 8:57 David Seifert
2021-08-13 16:51 David Seifert
2021-08-10 22:03 David Seifert
2021-08-01 4:14 Sam James
2021-07-14 22:45 Marek Szuba
2021-07-14 22:45 Marek Szuba
2021-06-30 21:21 David Seifert
2021-06-28 8:46 David Seifert
2021-04-30 14:54 David Seifert
2021-04-29 9:14 Guilherme Amadio
2021-04-29 8:47 Guilherme Amadio
2021-04-29 8:42 Guilherme Amadio
2021-04-29 8:42 Guilherme Amadio
2021-04-24 13:24 David Seifert
2021-04-09 15:15 David Seifert
2021-03-21 15:53 David Seifert
2021-02-14 15:49 David Seifert
2021-01-10 20:51 David Seifert
2020-12-27 20:09 David Seifert
2020-12-27 20:09 David Seifert
2020-12-07 11:05 David Seifert
2020-10-24 8:38 Jason Zaman
2020-09-29 7:29 Guilherme Amadio
2020-09-20 13:27 David Seifert
2020-06-27 11:04 Andreas Sturmlechner
2020-06-27 10:21 Pacho Ramos
2020-05-13 4:00 Benda XU
2020-02-16 20:35 David Seifert
2020-02-16 20:35 David Seifert
2020-02-16 20:24 David Seifert
2020-02-16 13:35 Jason Zaman
2019-12-05 17:02 Jason Zaman
2019-12-02 14:50 Jason Zaman
2019-12-02 14:50 Jason Zaman
2019-12-01 12:04 Benda XU
2019-11-13 8:44 Benda XU
2019-10-09 18:31 Jason Zaman
2019-10-01 19:14 Michał Górny
2019-06-24 13:28 Jason Zaman
2019-04-29 13:29 Jason Zaman
2019-04-05 15:41 Jason Zaman
2019-04-05 15:41 Jason Zaman
2018-11-30 15:26 Jason Zaman
2018-06-07 10:36 Alexey Shvetsov
2018-01-26 21:42 David Seifert
2017-12-10 14:13 Michał Górny
2017-11-26 11:39 David Seifert
2017-11-13 14:30 Guilherme Amadio
2017-11-10 13:25 Guilherme Amadio
2017-07-06 8:56 Guilherme Amadio
2017-05-20 21:24 Michał Górny
2017-03-02 7:50 David Seifert
2017-01-02 23:00 Justin Lecher
2017-01-02 22:09 Justin Lecher
2016-12-21 16:24 Tobias Klausmann
2016-12-11 15:11 Justin Lecher
2016-12-11 12:58 Justin Lecher
2016-12-11 11:21 Justin Lecher
2016-10-27 12:33 Mikhail Pukhlikov
2016-10-26 21:32 David Seifert
2016-04-20 15:19 Ian Stakenvicius
2016-01-11 8:27 Justin Lecher
2015-10-12 11:43 Justin Lecher
2015-09-17 18:28 Justin Lecher
2015-09-17 7:31 Justin Lecher
2015-09-17 7:30 Justin Lecher
2015-09-17 7:17 Justin Lecher
2015-09-09 9:49 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1745282266.84027216596e05307c8e9bcfc32d20e3ae1f3839.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox