From patchwork Fri May 2 04:40:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 42232 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1B72627BC49; Fri, 2 May 2025 05:42:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4A96827BC4A for ; Fri, 2 May 2025 05:42:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uAiDt-0000Oj-JH; Fri, 02 May 2025 00:42:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uAiDr-0000OJ-Ik for guix-patches@gnu.org; Fri, 02 May 2025 00:42:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uAiDr-0004zN-02 for guix-patches@gnu.org; Fri, 02 May 2025 00:42:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=yBTCddnFyv1FQYYr8bp4WCiuUO+heniTBNCYbePDzLM=; b=jltGCGAZKRZkfq/4PsTOFng6GlWcAxau5UJCHyOm34PPeOECTfOmUSOUARQtMRnfFqzYzKMs39NxXavbIKO8nVCp2b5yUwpGLDf+cKIdLfb/XUy4I9zxilxVfxMRlNpL39jjEorJKJmNHIcRugimH1JJ86hKL//b32CFzIdVsz5bEPua0sbSS9sjJGrC+wugS7SCmbzNE2M1v6RQ9WaG893oCM8DjguuaxGYTYlgd13uO0iPGnqTZsQWSoPRspkbUoTQs5coLiHyz9vGrhWMlZihdtzpwfElD6Bs2Ua0Q1v7wke9ql4AW/YmiX7wd9tFY65n6mmBlyh1FuajeoT2KQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uAiDq-0004kk-F6 for guix-patches@gnu.org; Fri, 02 May 2025 00:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70252] [PATCH v4 1/5] gnu: opencl-headers, opencl-clhpp and opencl-icd-loader: Replace version with %opencl-sdk-version. References: In-Reply-To: Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 May 2025 04:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70252 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70252@debbugs.gnu.org Cc: Ahmad Draidi Received: via spool by 70252-submit@debbugs.gnu.org id=B70252.174616092118263 (code B ref 70252); Fri, 02 May 2025 04:42:02 +0000 Received: (at 70252) by debbugs.gnu.org; 2 May 2025 04:42:01 +0000 Received: from localhost ([127.0.0.1]:55314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uAiDo-0004kV-SG for submit@debbugs.gnu.org; Fri, 02 May 2025 00:42:01 -0400 Received: from rivercloud.ext.redscript.org ([181.214.58.244]:43962) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uAiDf-0004js-7F for 70252@debbugs.gnu.org; Fri, 02 May 2025 00:41:57 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail2-ed25519-2024; t=1746160902; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=yBTCddnFyv1FQYYr8bp4WCiuUO+heniTBNCYbePDzLM=; b=BBOuM5J50ELK1l8dGUu+Vq2BurrYu/OwHwc8LoX2uzuAPRdlL3LainalrueXU0J4RCcLxo 7Ry9HIB8Xq2ERJCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail2-rsa-2024; t=1746160902; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=yBTCddnFyv1FQYYr8bp4WCiuUO+heniTBNCYbePDzLM=; b=Cim9Fu3Mfy4CuhsI4GHMsrkOtWqurM8Q5nVp8Xtp9oHQsI2ionp0VNFGiRqcsPuwgM330D IVuKsMQHkaW2WGvVMPRNhtpUHPlxjbYHi0NQ95ZCEEZq8du57qMWZlaW2amxgvRuUAuI1P mhZGlpytrZWAODpGffxm9fUbq8YU8f0= Received: by rivercloud.ext.redscript.org (OpenSMTPD) with ESMTPSA id 8ce40c65 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 2 May 2025 04:41:41 +0000 (UTC) Date: Fri, 2 May 2025 08:40:05 +0400 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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(-) base-commit: b2b7d2a3275d5ba866ae7fecac928ed4bd416beb diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm index 11a2c43b63c..6071617fd1a 100644 --- a/gnu/packages/opencl.scm +++ b/gnu/packages/opencl.scm @@ -54,13 +54,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) @@ -101,7 +104,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) @@ -130,7 +133,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