all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ahmad Draidi via Guix-patches via <guix-patches@gnu.org>
To: 70252@debbugs.gnu.org
Cc: Ahmad Draidi <a.r.draidi@redscript.org>
Subject: [bug#70252] [PATCH 2/4] gnu: opencl-clhpp: Update package style.
Date: Sun,  7 Apr 2024 12:09:14 +0400	[thread overview]
Message-ID: <0d1d94fc85b738bb978fb4b38755911e54db3acf.1712473796.git.a.r.draidi@redscript.org> (raw)
In-Reply-To: <cover.1712473796.git.a.r.draidi@redscript.org>

* gnu/packages/opencl.scm: Add #:use-module (guix gexp).
(opencl-clhpp): [native-inputs]: Remove labels.
[arguments]: Use G-expressions.

Change-Id: I5de85d6c1ed9d62bc481626ec3df2d0f0f939f32
---
 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 f265d983f0..c70dc4655f 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)
@@ -107,14 +108,16 @@ (define-public opencl-clhpp
         (base32 "0hagizc636wfcfmdl0f4bghprjnz1dba2kvkwh2ysj485n8lmjh4"))
        (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")
-- 
2.41.0





  parent reply	other threads:[~2024-04-07  8:11 UTC|newest]

Thread overview: 12+ 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 ` Ahmad Draidi via Guix-patches via [this message]
2024-04-07  8:09 ` [bug#70252] [PATCH 3/4] gnu: opencl-headers: Update package style 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

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=0d1d94fc85b738bb978fb4b38755911e54db3acf.1712473796.git.a.r.draidi@redscript.org \
    --to=guix-patches@gnu.org \
    --cc=70252@debbugs.gnu.org \
    --cc=a.r.draidi@redscript.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.