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

This fixes a build failure (after mesa-updates merge, perhaps from the
spirv-headers update).  The package version corresponds to the LLVM version
targeted, so inputs needed to be updated.

* gnu/packages/vulkan.scm (spirv-llvm-translator): Update to 18.1.0.
[inputs]: Replace llvm-15 with llvm-18.
[native-inputs]: Ditto. Replace clang-15 with clang-18.

Change-Id: I8ad51dd019e508a14b479a7481de62cdae446425
This commit is contained in:
John Kehayias 2024-05-01 15:25:44 -04:00
parent 5c13ab50b9
commit 2aeb9faa42
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -155,7 +155,7 @@ (define-public spirv-cross
(define-public spirv-llvm-translator (define-public spirv-llvm-translator
(package (package
(name "spirv-llvm-translator") (name "spirv-llvm-translator")
(version "15.0.0") (version "18.1.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -164,7 +164,7 @@ (define-public spirv-llvm-translator
(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 "0lix3bpli7i9csz26bq0d9g1v7c0gim498m5bm2gp8kifj2yih1s")))) (base32 "0yfz02mlnf4ffn67g2ms0w8f7jgdsn438w2dbxd5mvcf5dk2x27b"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
@ -175,8 +175,8 @@ (define-public spirv-llvm-translator
(assoc-ref %build-inputs "python-lit") (assoc-ref %build-inputs "python-lit")
"/bin/lit") "/bin/lit")
"-DLLVM_SPIRV_INCLUDE_TESTS=ON"))) "-DLLVM_SPIRV_INCLUDE_TESTS=ON")))
(inputs (list llvm-15)) (inputs (list llvm-18))
(native-inputs (list clang-15 llvm-15 python-lit spirv-headers)) (native-inputs (list clang-18 llvm-18 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