package/spirv-tools: needs gcc >= 8

spirv-tools unconditionally includes filesystem since its addition in
commit 0a01085abe resulting in the
following build failure:

/home/buildroot/autobuild/run/instance-1/output-1/build/spirv-tools-1.3.261.1/tools/objdump/objdump.cpp:15:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~

Fixes: 0a01085abe
 - http://autobuild.buildroot.org/results/aaeb0ca8773842768f9311fc804bb7529d9e3bfa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2024-03-02 09:56:26 +01:00 committed by Peter Korsgaard
parent 73c83dbe3e
commit b6d96266a1

View File

@ -1,7 +1,7 @@
config BR2_PACKAGE_SPIRV_TOOLS
bool "spirv-tools"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17 filesystem
select BR2_PACKAGE_SPIRV_HEADERS
help
The SPIR-V Tools project provides an API and commands for
@ -9,6 +9,6 @@ config BR2_PACKAGE_SPIRV_TOOLS
https://github.com/KhronosGroup/SPIRV-Tools
comment "spirv-tools needs a toolchain w/ C++, gcc >= 7"
comment "spirv-tools needs a toolchain w/ C++, gcc >= 8"
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_7
!BR2_TOOLCHAIN_GCC_AT_LEAST_8