This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 980f03e76a6 gnu: spirv-llvm-translator-17: Disable failing tests.
980f03e76a6 is described below
commit 980f03e76a6be2f9fbbc324aa269a7bb5a9cacf9
Author: Cayetano Santos <[email protected]>
AuthorDate: Wed Nov 11 11:27:27 2026 +0100
gnu: spirv-llvm-translator-17: Disable failing tests.
Recent update to spirv-tools in d0f887c2771 broke this package.
* gnu/packages/vulkan.scm (spirv-llvm-translator-17)[source]: Add
’snippet.
---
gnu/packages/vulkan.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 3f9402d3982..c076c8dd522 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -286,7 +286,16 @@ translation between LLVM IR and SPIR-V.")
(commit (string-append "v" version))))
(file-name (git-file-name "spirv-llvm-translator" version))
(sha256
- (base32 "1ghrq5w5mayd3v7c7wzzrjcbs7apnbiai3ic8k1kh733h6pm8ys3"))))
+ (base32 "1ghrq5w5mayd3v7c7wzzrjcbs7apnbiai3ic8k1kh733h6pm8ys3"))
+ (snippet
+ #~(begin
+ ;; test/zero-length-array.ll needs `spirv-dis` from
+ ;; spirv-tools 1.4.335.0 -- not spirv-tools-for-igc, whose newer
+ ;; spirv-val breaks 4 of the LLVM_SPIRV tests.
+ (delete-file "test/transcoding/OpenCL/convert_functions.ll")
+ (delete-file "test/transcoding/constant-vars.ll")
+ (delete-file "test/transcoding/global_block.cl")
+ (delete-file "test/type-scavenger/globals.ll")))))
(inputs (modify-inputs inputs
(replace "llvm" llvm-17)))
(native-inputs (modify-inputs native-inputs
@@ -297,9 +306,6 @@ translation between LLVM IR and SPIR-V.")
;; ("spirv-headers"), so using the older one here would
;; silently reintroduce a bug.
(replace "spirv-headers" spirv-headers-1.4.357.0)
- ;; test/zero-length-array.ll needs `spirv-dis` from
- ;; spirv-tools -- not spirv-tools-for-igc, whose newer
- ;; spirv-val breaks 4 of the LLVM_SPIRV tests.
(append spirv-tools)))))
(define-public glslang