mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: spirv-cross: Improve style.
* gnu/packages/vulkan.scm (spirv-cross)[arguments]: Use Gexp. [native-inputs]: Remove python; add python-minimal. Change-Id: Ia010d51736d099e4a0f983b79e2053bff6a63637 Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
parent
76ee7cbd56
commit
2a050bfecd
1 changed files with 23 additions and 22 deletions
|
@ -132,14 +132,15 @@ parser,disassembler, validator, and optimizer for SPIR-V.")
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; Disable tests for now due to upstream issue hit when running
|
(list
|
||||||
|
;; Disable tests for now due to upstream issue hit when running
|
||||||
;; update-reference-shaders phase:
|
;; update-reference-shaders phase:
|
||||||
;; <https://github.com/KhronosGroup/SPIRV-Tools/issues/5980>.
|
;; <https://github.com/KhronosGroup/SPIRV-Tools/issues/5980>.
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list "-DSPIRV_CROSS_SHARED=YES")
|
#~(list "-DSPIRV_CROSS_SHARED=YES")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-tests-to-find-deps
|
(add-after 'unpack 'fix-tests-to-find-deps
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "CMakeLists.txt"
|
(substitute* "CMakeLists.txt"
|
||||||
|
@ -155,7 +156,7 @@ parser,disassembler, validator, and optimizer for SPIR-V.")
|
||||||
(invoke "./update_test_shaders.sh"))))))))
|
(invoke "./update_test_shaders.sh"))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list glslang spirv-headers spirv-tools))
|
(list glslang spirv-headers spirv-tools))
|
||||||
(native-inputs (list python))
|
(native-inputs (list python-minimal))
|
||||||
(home-page "https://github.com/KhronosGroup/SPIRV-Cross")
|
(home-page "https://github.com/KhronosGroup/SPIRV-Cross")
|
||||||
(synopsis "Parser for and converter of SPIR-V to other shader languages")
|
(synopsis "Parser for and converter of SPIR-V to other shader languages")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue