gnu: spirv-llvm-translator: Update to 18.1.10.

* gnu/packages/vulkan.scm (spirv-llvm-translator): Update to 18.1.10.
[native-inputs]: Add libffi, pkg-config.

Change-Id: Id7251c3594ae56533b0930f9ecd54d8db88b5ab6
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
Cayetano Santos 2025-08-25 10:34:02 +02:00 committed by Maxim Cournoyer
parent 7c517e597b
commit 07f95633b7
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -46,6 +46,7 @@
#:use-module (gnu packages freedesktop) #:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages gl) #:use-module (gnu packages gl)
#:use-module (gnu packages libffi)
#:use-module (gnu packages llvm) #:use-module (gnu packages llvm)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python) #:use-module (gnu packages python)
@ -169,7 +170,7 @@ SPIR-V, aiming to emit GLSL or MSL that looks like human-written code.")
(define-public spirv-llvm-translator (define-public spirv-llvm-translator
(package (package
(name "spirv-llvm-translator") (name "spirv-llvm-translator")
(version "18.1.0") (version "18.1.10")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -178,7 +179,7 @@ SPIR-V, aiming to emit GLSL or MSL that looks like human-written code.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0yfz02mlnf4ffn67g2ms0w8f7jgdsn438w2dbxd5mvcf5dk2x27b")))) (base32 "11gmb1kw6j90hwcf6wxjz4pki653lyd8v8kphk7jq67gvw8dkiwy"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
;; The test suite is known to fail on several architectures: ;; The test suite is known to fail on several architectures:
@ -206,7 +207,14 @@ SPIR-V, aiming to emit GLSL or MSL that looks like human-written code.")
(apply (assoc-ref gnu:%standard-phases 'check) (apply (assoc-ref gnu:%standard-phases 'check)
#:test-target "test" args)))))) #:test-target "test" args))))))
(inputs (list llvm-18)) (inputs (list llvm-18))
(native-inputs (list clang-18 llvm-18 python-lit spirv-headers)) (native-inputs
(list
clang-18
libffi
llvm-18
pkg-config
python-lit
spirv-headers))
(home-page "https://github.com/KhronosGroup/SPIRV-LLVM-Translator") (home-page "https://github.com/KhronosGroup/SPIRV-LLVM-Translator")
(synopsis "Bi-directional translation between SPIR-V and LLVM IR") (synopsis "Bi-directional translation between SPIR-V and LLVM IR")
(description (description