From patchwork Sun Sep 29 12:45:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 68518 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 A886327BBEB; Sun, 29 Sep 2024 13:51:06 +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 autolearn=ham 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 8125E27BBE9 for ; Sun, 29 Sep 2024 13:51:06 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sutNh-00085U-Ma; Sun, 29 Sep 2024 08:50:33 -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 1sutNf-00084y-Jf for guix-patches@gnu.org; Sun, 29 Sep 2024 08:50:31 -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 1sutNf-0002Lb-Ak; Sun, 29 Sep 2024 08:50:31 -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=/IemQqTZsNhZZyjzyFxc3y0tOlHd4tEZw5ZGldw7Ros=; b=d507SsUSMglBBByECV4+zIGXGRHB6LhTrBM3qTxyMATszj2HZnvX/z+EONuYnb55ucxZmaAGosNgAUUXqaAO+Xd+xoSl8Y1dY2uUx4P6S0LuC/SN6U6uJXAe/Cc+i6L6zF8gHwJZR116GglreCoFmN65e1rn04Nt9lzJZW8mFeXlu933l/Axhyhe8ZvVFKg9HZp9k/HC33ALrthtXzxqNBwI6JY54Kicvxdao1SyjADGanuj/PqscY7ysbjGSIhBsKzDcapS6EqLQK7yGwSmp4MA39WEZmzr3PEIa9K7g5WxzchskjsJEEDdt2mKK7nPWEQaZDdqp7PH67cdeFTBbA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sutOA-0007mV-JW; Sun, 29 Sep 2024 08:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70252] [PATCH v3 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: a.r.draidi@redscript.org, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Sun, 29 Sep 2024 12:51: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 , Ahmad Draidi , Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Ahmad Draidi , Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 70252-submit@debbugs.gnu.org id=B70252.172761421829184 (code B ref 70252); Sun, 29 Sep 2024 12:51:02 +0000 Received: (at 70252) by debbugs.gnu.org; 29 Sep 2024 12:50:18 +0000 Received: from localhost ([127.0.0.1]:40249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sutNP-0007aE-LS for submit@debbugs.gnu.org; Sun, 29 Sep 2024 08:50:17 -0400 Received: from rainycloud.ext.redscript.org ([103.105.48.212]:35450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sutN9-0007XK-DV for 70252@debbugs.gnu.org; Sun, 29 Sep 2024 08:50:02 -0400 Received: from localhost.localdomain (bba-2-49-240-229.alshamil.net.ae [2.49.240.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id F18981803; Sun, 29 Sep 2024 12:48:51 +0000 (UTC) Date: Sun, 29 Sep 2024 16:45:34 +0400 Message-ID: X-Mailer: git-send-email 2.46.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: e464a3e166b826a040aea7140ee33f3e89da6a88 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 From patchwork Sun Sep 29 12:45:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 68515 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 4CACA27BBEA; Sun, 29 Sep 2024 13:49:56 +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 autolearn=ham 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 7045327BBE2 for ; Sun, 29 Sep 2024 13:49:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sutMm-0007ro-Rp; Sun, 29 Sep 2024 08:49:36 -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 1sutMl-0007rb-Ns for guix-patches@gnu.org; Sun, 29 Sep 2024 08:49:35 -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 1sutMl-0001sI-CP; Sun, 29 Sep 2024 08:49:35 -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:References:In-Reply-To:Date:From:To:Subject; bh=AyZlMLFnDkrrFeiahPjrefJYaZBHgSMBRhutdxehWEA=; b=JdfNssgOiXbApW9Bs7rdl0E8gcO8V/VcPIfJ2SOlFMKn8OQsBl+qcGHEin26wcCfrAggo7Vkjkzu39qZDQKRUYEMh1WquXTjA25EskPMrRA+HeZ8OokmIjIjnnGjwXQ9JHHzk8lFUGHgudKDIMVlr8eIzCtt0Oa/zmO8wfTcUCO3ifCKV/Ty5ipt1CSH/oybA8Zcrp98fiqkrMnRwKc/6qFtxP98oJZVeqOL0n5cJG7p8/98yT/0v/E9SjHiC2J4otBEh9twPrXlfDf95AVV2aNqtYBgK7hqEkmsFXVetnKswyzUPdTll/xEA3rFN6yeOShGnpK55ItkCtkBet6sxw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sutNG-0007ZC-Ef; Sun, 29 Sep 2024 08:50:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70252] [PATCH v3 2/5] gnu: %opencl-sdk-version: Update to 2024.05.08. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: a.r.draidi@redscript.org, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Sun, 29 Sep 2024 12:50:06 +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 , Ahmad Draidi , Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Ahmad Draidi , Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 70252-submit@debbugs.gnu.org id=B70252.172761419428966 (code B ref 70252); Sun, 29 Sep 2024 12:50:06 +0000 Received: (at 70252) by debbugs.gnu.org; 29 Sep 2024 12:49:54 +0000 Received: from localhost ([127.0.0.1]:40241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sutMw-0007W8-VF for submit@debbugs.gnu.org; Sun, 29 Sep 2024 08:49:52 -0400 Received: from rainycloud.ext.redscript.org ([103.105.48.212]:38636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sutMo-0007Tg-UT for 70252@debbugs.gnu.org; Sun, 29 Sep 2024 08:49:43 -0400 Received: from localhost.localdomain (bba-2-49-240-229.alshamil.net.ae [2.49.240.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id 93302170E; Sun, 29 Sep 2024 12:49:01 +0000 (UTC) Date: Sun, 29 Sep 2024 16:45:35 +0400 Message-ID: <31a02c31a56a8ad15957edb06169cc3f80c677d4.1727613910.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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 This updates opencl-headers, opencl-clhpp and opencl-icd-loader. * gnu/packages/opencl.scm (opencl-headers)[source]: Update hash. [home-page]: Update URL. (opencl-clhpp)[source]: Update hash. (opencl-icd-loader)[source]: Update hash. Update origin URI to fix lint. Change-Id: I674fc8aa79d1d98bac7ff66ba3a0e0fcb9b243cb --- v3: update to latest version. gnu/packages/opencl.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm index d6fb344458..f7f2bd0e0b 100644 --- a/gnu/packages/opencl.scm +++ b/gnu/packages/opencl.scm @@ -53,7 +53,7 @@ (define-module (gnu packages opencl) ;; together (lockstep) and must be updated together. The following variable ;; facilitates that. -(define %opencl-sdk-version "2023.02.06") +(define %opencl-sdk-version "2024.05.08") (define-public opencl-headers (package @@ -67,13 +67,13 @@ (define-public opencl-headers (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1jxpx15gwxc6i7vp64xlzcxf57nl0qnaiip6jyr0j7iji47dm404")))) + (base32 "0m0znpwjsgsgccgrdn2pw8j6z8inkbyq6dsv7r2jjdm6kdmxjw0m")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; Not enabled during build. (synopsis "The Khronos OpenCL headers") (description "This package provides the C headers by Khronos for OpenCL programming.") - (home-page "https://www.khronos.org/registry/OpenCL/") + (home-page "https://registry.khronos.org/OpenCL/") (license license:asl2.0))) (define (make-opencl-headers major-version subversion) @@ -107,7 +107,7 @@ (define-public opencl-clhpp (url "https://github.com/KhronosGroup/OpenCL-CLHPP") (commit (string-append "v" version)))) (sha256 - (base32 "1m3v5apjv3qagym32xqg38pq6i8j5d8svz11clsx408nrlyngrj0")) + (base32 "172jxbx78bv6gapxx43bh7ni7zciw010gxx17h47sndhdasbi2bc")) (file-name (git-file-name name version)))) (native-inputs `(("python" ,python-wrapper))) @@ -132,12 +132,12 @@ (define-public opencl-icd-loader (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/KhronosGroup/OpenCL-ICD-Loader.git") + (url "https://github.com/KhronosGroup/OpenCL-ICD-Loader") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 - "1cmbcm6bz6kfvr0dy9hzf2vgfwcz8gbm8rxspqqpva6z74dz0qxr")))) + "0q3hj2b3vw0mdzbizbd8jnrcjgmiyql2c4sgv83x255p9gb1qp60")))) (build-system cmake-build-system) (arguments `(#:tests? #f)) ; Tests need stub loader setup. (native-search-paths From patchwork Sun Sep 29 12:45:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 68517 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 522C927BBEA; Sun, 29 Sep 2024 13:50:58 +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 autolearn=ham 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 A950F27BBE2 for ; Sun, 29 Sep 2024 13:50:57 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sutNi-00086P-NV; Sun, 29 Sep 2024 08:50:34 -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 1sutNg-000858-Jn for guix-patches@gnu.org; Sun, 29 Sep 2024 08:50:32 -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 1sutNf-0002M1-R9; Sun, 29 Sep 2024 08:50:32 -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:References:In-Reply-To:Date:From:To:Subject; bh=quOo9s+XCnMIBYYupGsYNpezVlhnyWncf9vOmDVUTc8=; b=MkWQYt63LMcRGCplFnKSBbmqZSe/6AS1a9PKgwfuDqqHoZkGf5pZTj9HUBhPKflLIoQ+gy6NWkAeL9xqGHRL8g/J+uw1Xtgl//BMZ5KObxBKSRuPz2mbiTJPtO1DBr/ZLg43VrcQ+PqvQ6Wy+1LN/MCM7mpYPA4yVBLxLHRDlNdgcfvV0WlpmWXQV23NcxnrvGfMpe4HUoLFfWR0/NON8rndbMjkpQXxbmEX2CabAIW1J+vDs3iJZZmpinskfZWlKtmAnc1oA5My5T49Q1VGkFD1VMUmj9xmBR2g5ECcc5XbukAdcoXBZtMNk1PQFaF1dryCG3w/445TZnpEubSy0A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sutOB-0007mf-2u; Sun, 29 Sep 2024 08:51:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70252] [PATCH v3 3/5] gnu: opencl-clhpp: Update package style. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: a.r.draidi@redscript.org, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Sun, 29 Sep 2024 12:51:03 +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 , Ahmad Draidi , Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Ahmad Draidi , Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 70252-submit@debbugs.gnu.org id=B70252.172761424329660 (code B ref 70252); Sun, 29 Sep 2024 12:51:03 +0000 Received: (at 70252) by debbugs.gnu.org; 29 Sep 2024 12:50:43 +0000 Received: from localhost ([127.0.0.1]:40253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sutNq-0007i4-LQ for submit@debbugs.gnu.org; Sun, 29 Sep 2024 08:50:43 -0400 Received: from rainycloud.ext.redscript.org ([103.105.48.212]:51136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sutNT-0007a1-DP for 70252@debbugs.gnu.org; Sun, 29 Sep 2024 08:50:22 -0400 Received: from localhost.localdomain (bba-2-49-240-229.alshamil.net.ae [2.49.240.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id 2910B182F; Sun, 29 Sep 2024 12:49:12 +0000 (UTC) Date: Sun, 29 Sep 2024 16:45:36 +0400 Message-ID: <573fbf29b219aa723286972ddd419802d4c4ed35.1727613910.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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 * gnu/packages/opencl.scm: Add #:use-module (guix gexp). (opencl-clhpp): [native-inputs]: Remove labels. [arguments]: Use G-expressions. Change-Id: I9c61aad824b5a57f941853635f30d2ec2dad38d8 --- gnu/packages/opencl.scm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm index f7f2bd0e0b..11fe4c8fd3 100644 --- a/gnu/packages/opencl.scm +++ b/gnu/packages/opencl.scm @@ -24,6 +24,7 @@ (define-module (gnu packages opencl) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix utils) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) @@ -110,14 +111,16 @@ (define-public opencl-clhpp (base32 "172jxbx78bv6gapxx43bh7ni7zciw010gxx17h47sndhdasbi2bc")) (file-name (git-file-name name version)))) (native-inputs - `(("python" ,python-wrapper))) + (list python-wrapper)) (propagated-inputs (list opencl-headers)) (arguments - `(#:configure-flags (list "-DBUILD_EXAMPLES=OFF" "-DBUILD_TESTS=OFF" - "-DBUILD_TESTING=OFF") ;; CTest needs this to be turned off - ;; The regression tests require a lot more dependencies. - #:tests? #f)) + (list #:configure-flags #~(list "-DBUILD_EXAMPLES=OFF" + "-DBUILD_TESTS=OFF" + ;; CTest needs this to be turned off + "-DBUILD_TESTING=OFF") + ;; The regression tests require a lot more dependencies. + #:tests? #f)) (build-system cmake-build-system) (home-page "https://github.khronos.org/OpenCL-CLHPP/") (synopsis "Khronos OpenCL-CLHPP") From patchwork Sun Sep 29 12:45:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 68516 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 AA16127BBEA; Sun, 29 Sep 2024 13:50:37 +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 autolearn=ham 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 76E8627BBE2 for ; Sun, 29 Sep 2024 13:50:37 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sutNg-000856-63; Sun, 29 Sep 2024 08:50:32 -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 1sutNf-00084o-5c for guix-patches@gnu.org; Sun, 29 Sep 2024 08:50:31 -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 1sutNe-0002LR-Si; Sun, 29 Sep 2024 08:50:30 -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:References:In-Reply-To:Date:From:To:Subject; bh=0uO0lH6Xrgitpvvj9GVBBLYQNqpljCN8tugytZMgJlY=; b=rzbn2QYG8VOeg4Sh5h2lwzszmAoJAuSCTUPTPsE4Zw8bO3rO+08p8JnxAfHSAtHlrmF5pTXeJX7T4+PY+xFP2TAxNP6hx8QaIV3J3XfI1RvxSGaKZ2vGLNVQXWF1p6ehYqblaA12M0WYIfR9Pt73db+kxLNfJG40rUQFlrrR3lfWfe2/C+F/Ut0+lctWKgIhpyhCUP1fZb/3lnIwkPPueM/WJNqbQqaUlMhu8ye/ZjUSXmf+7nP8WH8UiTCn4oscqdRQkcFXA9d/4UV2V9hNw5DiXG7A8ixB3YLyRNB4TkQA89HTsQQ1EWxmgEZ7QL9gISSnrNCEX6zkDeEJdXGkUg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sutOA-0007mK-53; Sun, 29 Sep 2024 08:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70252] [PATCH v3 4/5] gnu: opencl-headers: Update package style. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: a.r.draidi@redscript.org, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Sun, 29 Sep 2024 12:51: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 , Ahmad Draidi , Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Ahmad Draidi , Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 70252-submit@debbugs.gnu.org id=B70252.172761421629158 (code B ref 70252); Sun, 29 Sep 2024 12:51:02 +0000 Received: (at 70252) by debbugs.gnu.org; 29 Sep 2024 12:50:16 +0000 Received: from localhost ([127.0.0.1]:40247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sutNO-0007a5-Pt for submit@debbugs.gnu.org; Sun, 29 Sep 2024 08:50:15 -0400 Received: from rainycloud.ext.redscript.org ([103.105.48.212]:35448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sutN3-0007WP-VL for 70252@debbugs.gnu.org; Sun, 29 Sep 2024 08:49:59 -0400 Received: from localhost.localdomain (bba-2-49-240-229.alshamil.net.ae [2.49.240.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id 7716A1830; Sun, 29 Sep 2024 12:49:16 +0000 (UTC) Date: Sun, 29 Sep 2024 16:45:37 +0400 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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 * gnu/packages/opencl.scm (opencl-headers)[arguments]: Use G-expressions. Change-Id: I3704206aa0d92dafc99953753914f5090192785d --- gnu/packages/opencl.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm index 11fe4c8fd3..452bf54245 100644 --- a/gnu/packages/opencl.scm +++ b/gnu/packages/opencl.scm @@ -70,7 +70,7 @@ (define-public opencl-headers (sha256 (base32 "0m0znpwjsgsgccgrdn2pw8j6z8inkbyq6dsv7r2jjdm6kdmxjw0m")))) (build-system cmake-build-system) - (arguments `(#:tests? #f)) ; Not enabled during build. + (arguments (list #:tests? #f)) ; Not enabled during build. (synopsis "The Khronos OpenCL headers") (description "This package provides the C headers by Khronos for OpenCL programming.") From patchwork Sun Sep 29 12:45:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 68519 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 456A927BBE9; Sun, 29 Sep 2024 13:51:07 +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 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 9F70F27BBE2 for ; Sun, 29 Sep 2024 13:51:05 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sutNj-00086a-F1; Sun, 29 Sep 2024 08:50:35 -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 1sutNg-000859-Ll for guix-patches@gnu.org; Sun, 29 Sep 2024 08:50:32 -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 1sutNg-0002MS-CG; Sun, 29 Sep 2024 08:50:32 -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:References:In-Reply-To:Date:From:To:Subject; bh=R75fGa1hUgcKwy+lJRMSeHexh5P99Acx/JxlTXwABXk=; b=nMmoyYBbur1SMIufy4Tq/UJ+ljTL5tnpiDLPP6/T5Kl03sCAi6n9PNPghClYw0qD5Iwd8Or2x6v/OuwvdswVV9szTDa4AFAJ5wC8q50VwMebUCKrwr9R9hqMrquJqPwSCsX4G+xTMqmpaFoFbjI/JBFQNzIig1KGfUaWxEBuaUPg0mf5iOPnXNLIWSxZdq4vBQXguA3dQa5pzklhM9ep4vqG5y8PdDJVvM/p3WX8eZZqIpA74CrX/RhuhCWnkRFZjE1Pc59scmfdpdWcjYPvqx79L7CCn+EsQTXcKI7U1by0852luuAuvcOXhTVoZB1EWcM1LVgMHfqVWEP1CDXtJQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sutOB-0007mt-LA; Sun, 29 Sep 2024 08:51:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70252] [PATCH v3 5/5] gnu: opencl-icd-loader: Update package style. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: a.r.draidi@redscript.org, ludo@gnu.org, guix-patches@gnu.org Resent-Date: Sun, 29 Sep 2024 12:51:03 +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 , Ahmad Draidi , Ludovic =?utf-8?q?Court=C3=A8s?= X-Debbugs-Original-Xcc: Ahmad Draidi , Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 70252-submit@debbugs.gnu.org id=B70252.172761424429674 (code B ref 70252); Sun, 29 Sep 2024 12:51:03 +0000 Received: (at 70252) by debbugs.gnu.org; 29 Sep 2024 12:50:44 +0000 Received: from localhost ([127.0.0.1]:40255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sutNr-0007iK-Ac for submit@debbugs.gnu.org; Sun, 29 Sep 2024 08:50:43 -0400 Received: from rainycloud.ext.redscript.org ([103.105.48.212]:48798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sutNb-0007bV-Pz for 70252@debbugs.gnu.org; Sun, 29 Sep 2024 08:50:28 -0400 Received: from localhost.localdomain (bba-2-49-240-229.alshamil.net.ae [2.49.240.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id 639431833; Sun, 29 Sep 2024 12:49:20 +0000 (UTC) Date: Sun, 29 Sep 2024 16:45:38 +0400 Message-ID: <8c3e5925582991173c6c28bf0f17bdd898093fff.1727613910.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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 * gnu/packages/opencl.scm (opencl-icd-loader)[arguments]: Use G-expressions. Change-Id: I0d2e2a6e1b267d01c75ea560c8ef7fde12fdec4a --- gnu/packages/opencl.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/opencl.scm b/gnu/packages/opencl.scm index 452bf54245..32b489a42a 100644 --- a/gnu/packages/opencl.scm +++ b/gnu/packages/opencl.scm @@ -142,7 +142,7 @@ (define-public opencl-icd-loader (base32 "0q3hj2b3vw0mdzbizbd8jnrcjgmiyql2c4sgv83x255p9gb1qp60")))) (build-system cmake-build-system) - (arguments `(#:tests? #f)) ; Tests need stub loader setup. + (arguments (list #:tests? #f)) ; Tests need stub loader setup. (native-search-paths (list (search-path-specification (variable "OCL_ICD_VENDORS")