From: Ahmad Draidi via Guix-patches via <guix-patches@gnu.org>
To: 70252@debbugs.gnu.org
Cc: "Ahmad Draidi" <a.r.draidi@redscript.org>,
"Ahmad Draidi" <a.r.draidi@redscript.org>,
"Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#70252] [PATCH v3 1/5] gnu: opencl-headers, opencl-clhpp and opencl-icd-loader: Replace version with %opencl-sdk-version.
Date: Sun, 29 Sep 2024 16:45:34 +0400 [thread overview]
Message-ID: <a8c8cdd2c0c10fb79fecf794d858ae57394e0902.1727613910.git.a.r.draidi@redscript.org> (raw)
In-Reply-To: <cover.1712473796.git.a.r.draidi@redscript.org>
These packages must be updated together. Therefore, we use a common version
variable.
* gnu/packages/opencl.scm (%opencl-sdk-version): New variable.
(opencl-headers)[version]: Replace with %opencl-sdk-version.
(opencl-clhpp)[version]: Likewise.
(opencl-icd-loader)[version]: Likewise.
Change-Id: I2cf25e2e7b951f0c0ff54a48c4e4a4fb470bff6a
---
gnu/packages/opencl.scm | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm
index 036834f567..d6fb344458 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -49,13 +49,16 @@ (define-module (gnu packages opencl)
;; tests that require such devices are all disabled.
;; Check https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00293.html
-;; If you update either of opencl-headers, opencl-clhpp or opencl-icd-loader
-;; note that they are released together (lockstep) and must be updated
-;; together.
+;; The packages opencl-headers, opencl-clhpp and opencl-icd-loader are released
+;; together (lockstep) and must be updated together. The following variable
+;; facilitates that.
+
+(define %opencl-sdk-version "2023.02.06")
+
(define-public opencl-headers
(package
(name "opencl-headers")
- (version "2023.02.06")
+ (version %opencl-sdk-version)
(source
(origin
(method git-fetch)
@@ -96,7 +99,7 @@ (define-public opencl-headers-1.0
(define-public opencl-clhpp
(package
(name "opencl-clhpp")
- (version "2023.02.06")
+ (version %opencl-sdk-version)
(source
(origin
(method git-fetch)
@@ -125,7 +128,7 @@ (define-public opencl-clhpp
(define-public opencl-icd-loader
(package
(name "opencl-icd-loader")
- (version "2023.02.06")
+ (version %opencl-sdk-version)
(source (origin
(method git-fetch)
(uri (git-reference
base-commit: e464a3e166b826a040aea7140ee33f3e89da6a88
--
2.46.0
next prev parent reply other threads:[~2024-09-29 12:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-07 8:05 [bug#70252] [PATCH 0/4] Update and restyle Khronos OpenCL packages Ahmad Draidi via Guix-patches via
2024-04-07 8:09 ` [bug#70252] [PATCH 1/4] gnu: opencl-headers, opencl-clhpp and opencl-icd-loader: Update to 2023.12.14 Ahmad Draidi via Guix-patches via
2024-04-07 8:09 ` [bug#70252] [PATCH 2/4] gnu: opencl-clhpp: Update package style Ahmad Draidi via Guix-patches via
2024-04-07 8:09 ` [bug#70252] [PATCH 3/4] gnu: opencl-headers: " Ahmad Draidi via Guix-patches via
2024-04-07 8:09 ` [bug#70252] [PATCH 4/4] gnu: opencl-icd-loader: " Ahmad Draidi via Guix-patches via
2024-04-07 20:19 ` [bug#70252] [PATCH v2 0/5] Update and restyle Khronos OpenCL packages Ahmad Draidi via Guix-patches via
2024-04-07 20:33 ` [bug#70252] [PATCH v2 1/5] gnu: opencl-headers, opencl-clhpp and opencl-icd-loader: Replace version with %opencl-sdk-version Ahmad Draidi via Guix-patches via
2024-04-07 20:33 ` [bug#70252] [PATCH v2 2/5] gnu: %opencl-sdk-version: Update to 2023.12.14 Ahmad Draidi via Guix-patches via
2024-04-07 20:33 ` [bug#70252] [PATCH v2 3/5] gnu: opencl-clhpp: Update package style Ahmad Draidi via Guix-patches via
2024-04-07 20:33 ` [bug#70252] [PATCH v2 4/5] gnu: opencl-headers: " Ahmad Draidi via Guix-patches via
2024-04-07 20:33 ` [bug#70252] [PATCH v2 5/5] gnu: opencl-icd-loader: " Ahmad Draidi via Guix-patches via
2024-05-04 16:40 ` [bug#70252] [PATCH v2 0/5] Update and restyle Khronos OpenCL packages Ludovic Courtès
2024-09-29 12:43 ` Ahmad Draidi via Guix-patches via
2024-09-29 12:45 ` Ahmad Draidi via Guix-patches via [this message]
2024-09-29 12:45 ` [bug#70252] [PATCH v3 2/5] gnu: %opencl-sdk-version: Update to 2024.05.08 Ahmad Draidi via Guix-patches via
2024-09-29 12:45 ` [bug#70252] [PATCH v3 3/5] gnu: opencl-clhpp: Update package style Ahmad Draidi via Guix-patches via
2024-09-29 12:45 ` [bug#70252] [PATCH v3 4/5] gnu: opencl-headers: " Ahmad Draidi via Guix-patches via
2024-09-29 12:45 ` [bug#70252] [PATCH v3 5/5] gnu: opencl-icd-loader: " Ahmad Draidi via Guix-patches via
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=a8c8cdd2c0c10fb79fecf794d858ae57394e0902.1727613910.git.a.r.draidi@redscript.org \
--to=guix-patches@gnu.org \
--cc=70252@debbugs.gnu.org \
--cc=a.r.draidi@redscript.org \
--cc=ludo@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.