gnu: clinfo: Update to 3.0.25.02.14.

* gnu/packages/opencl.scm (clinfo): Update to 3.0.25.02.14.
[arguments]: Use G-Expressions.

Merges guix/guix!5699

Change-Id: I5d345f8d6073e7aec89b1853b4d61199c710d5c6
This commit is contained in:
Cayetano Santos 2026-01-17 17:43:52 +01:00 committed by Andreas Enge
parent 692167b046
commit f24fbb8711
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -149,7 +149,7 @@ This package contains the Khronos official OpenCL ICD Loader.")
(define-public clinfo
(package
(name "clinfo")
(version "3.0.21.02.21")
(version "3.0.25.02.14")
(source
(origin
(method git-fetch)
@ -158,18 +158,21 @@ This package contains the Khronos official OpenCL ICD Loader.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1sfxp6ai83i0vwdg7b05h0k07q6873q1z1avnyksj5zmzdnxya6j"))))
(base32 "136fx14hcxfk3dab6jhk78j9l0f43zb3qap19mnzdrlqk532njaj"))))
(build-system gnu-build-system)
(native-inputs
(list opencl-headers))
(inputs
(list opencl-icd-loader))
(arguments
`(#:make-flags
(list ,(string-append "CC=" (cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases (delete 'configure))
#:tests? #f))
(list
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "CXX=" #$(cxx-for-target))
(string-append "PREFIX=" #$output))
#:phases
#~(modify-phases %standard-phases (delete 'configure))
#:tests? #f))
(home-page "https://github.com/Oblomov/clinfo")
(synopsis "Print information about OpenCL platforms and devices")
;; Only the implementation installed via Guix will be detected.