gnu: spirv-tools: Remove GCC7 input.

* gnu/packages/vulkan.scm (spirv-tools)[native-inputs]: Remove GCC-7.
[arguments]: Remove <#:phases>.
This commit is contained in:
Marius Bakke 2019-07-02 23:08:12 +02:00
parent c8f2050ab6
commit 9f74ec98d3
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -32,7 +32,6 @@ (define-module (gnu packages vulkan)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gl)
#:use-module (gnu packages pkg-config)
@ -96,18 +95,10 @@ (define-public spirv-tools
(build-system cmake-build-system)
(arguments
`(#:tests? #f ; FIXME: Tests fail.
#:phases
(modify-phases %standard-phases
(add-before 'configure 'fixgcc7
(lambda _
(unsetenv "C_INCLUDE_PATH")
(unsetenv "CPLUS_INCLUDE_PATH")
#t)))
#:configure-flags (list (string-append "-DSPIRV-Headers_SOURCE_DIR="
(assoc-ref %build-inputs "spirv-headers")))))
(inputs `(("spirv-headers" ,spirv-headers)))
(native-inputs `(("gcc" ,gcc-7)
("pkg-config" ,pkg-config)
(native-inputs `(("pkg-config" ,pkg-config)
("python" ,python)))
(home-page "https://github.com/KhronosGroup/SPIRV-Tools")
(synopsis "API and commands for processing SPIR-V modules")