mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: spirv-tools: Improve style.
* gnu/packages/vulkan.scm (spirv-tools):[arguments]: Use Gexp. [native-inputs]: Remove python; add python-minimal. Change-Id: I91c66e8b196a00f9beb327e440f39d2675964f99 Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
parent
33b59aef3f
commit
5873aa84c8
1 changed files with 10 additions and 8 deletions
|
@ -98,7 +98,9 @@ and for the GLSL.std.450 extended instruction set.
|
||||||
(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
|
||||||
`(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
|
(list
|
||||||
|
#:configure-flags
|
||||||
|
#~(list "-DBUILD_SHARED_LIBS=ON"
|
||||||
;; Some packages like mpv fail to link
|
;; Some packages like mpv fail to link
|
||||||
;; when the static libraries are built.
|
;; when the static libraries are built.
|
||||||
"-DSPIRV_TOOLS_BUILD_STATIC=OFF"
|
"-DSPIRV_TOOLS_BUILD_STATIC=OFF"
|
||||||
|
@ -106,7 +108,7 @@ and for the GLSL.std.450 extended instruction set.
|
||||||
"-DSPIRV-Headers_SOURCE_DIR="
|
"-DSPIRV-Headers_SOURCE_DIR="
|
||||||
(assoc-ref %build-inputs "spirv-headers")))))
|
(assoc-ref %build-inputs "spirv-headers")))))
|
||||||
(inputs (list spirv-headers))
|
(inputs (list spirv-headers))
|
||||||
(native-inputs (list pkg-config python))
|
(native-inputs (list pkg-config python-minimal))
|
||||||
(home-page "https://github.com/KhronosGroup/SPIRV-Tools")
|
(home-page "https://github.com/KhronosGroup/SPIRV-Tools")
|
||||||
(synopsis "API and commands for processing SPIR-V modules")
|
(synopsis "API and commands for processing SPIR-V modules")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue