1config BR2_PACKAGE_SPIRV_TOOLS
2	bool "spirv-tools"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on !BR2_STATIC_LIBS
5	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17 filesystem
6	select BR2_PACKAGE_SPIRV_HEADERS
7	help
8	  The SPIR-V Tools project provides an API and commands for
9	  processing SPIR-V modules.
10
11	  https://github.com/KhronosGroup/SPIRV-Tools
12
13comment "spirv-tools needs a toolchain w/ C++, dynamic library, gcc >= 8"
14	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
15		!BR2_TOOLCHAIN_GCC_AT_LEAST_8
16