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
This commit is contained in:
Cayetano Santos 2026-01-17 13:55:27 +01:00 committed by Andreas Enge
parent 0e8543e4e0
commit ac7452d1a2
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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