guix_mirror_bot pushed a commit to branch next-master
in repository guix.
commit c84b42a2049226fdef9a54462338db13e7628b31
Author: Cayetano Santos <[email protected]>
AuthorDate: Sat Jan 17 13:55:27 2026 +0100
gnu: pocl: Update to 6.0.
* gnu/packages/opencl.scm (pocl): Update to 6.0.
[inputs]: Remove clang-15, llvm-15, and hwloc-2; add clang-toolchain-18 and
hwloc.
[native-inputs]: Remove libltdl and python-3; add spirv-headers,
spirv-llvm-translator, spirv-tools, and python-minimal-wrapper.
Change-Id: Id2a65a151bff3707d09353cbffb7387b2efa5a4a
---
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 63328c8a9d..9975c4d5b8 100644
--- a/gnu/packages/opencl.scm
+++ b/gnu/packages/opencl.scm
@@ -48,6 +48,7 @@
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages ruby)
#:use-module (gnu packages video)
+ #:use-module (gnu packages vulkan)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xorg))
@@ -206,7 +207,7 @@ incorporate inside an OpenCL implementation to give it ICD
functionalities.")
(define-public pocl
(package
(name "pocl")
- (version "3.1")
+ (version "6.0")
(source
(origin
(method git-fetch)
@@ -215,7 +216,7 @@ incorporate inside an OpenCL implementation to give it ICD
functionalities.")
(commit (string-append "v" version))))
(sha256
(base32
- "1pw4q0hi5ynx34fvzryravz3jbh89f9cg60fkjj77sxh9xw8phdd"))
+ "0darr71kj21scavikbm7if1d4nz5vca77y0q5hw6nf9f1c4axlkp"))
(file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
@@ -251,12 +252,14 @@ incorporate inside an OpenCL implementation to give it
ICD functionalities.")
;; fake topology.
(setenv "HWLOC_SYNTHETIC" "4"))))))
(inputs
- (list clang-15
- llvm-15
- `(,hwloc-2 "lib")
+ (list clang-toolchain-18 ;otherwise, clang executable not found
+ `(,hwloc "lib")
opencl-icd-loader))
(native-inputs
- (list libltdl pkg-config python-3))
+ (list pkg-config
+ spirv-llvm-translator
+ spirv-tools
+ python-minimal-wrapper))
(home-page "http://portablecl.org/")
(synopsis "Portable Computing Language (pocl), an OpenCL implementation")
(description