package/spirv-headers: new package

These headers are required to build the pacakge spirv-tools which is
requried by mesa3d for building rusticl:

https://docs.mesa3d.org/rusticl.html

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Sebastian Weyer <sebastian.weyer@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Romain Naour 2023-07-25 19:30:56 +02:00 committed by Thomas Petazzoni
parent 43da0b8f78
commit 4947445f27
5 changed files with 26 additions and 0 deletions

View File

@ -2650,6 +2650,7 @@ N: Sebastian Weyer <sebastian.weyer@smile.fr>
F: package/amlogic-boot-fip/
F: package/nushell/
F: package/rust-bindgen/
F: package/spirv-headers/
F: support/testing/tests/package/sample_nu.nu
F: support/testing/tests/package/test_nu.py

View File

@ -370,6 +370,7 @@ comment "Graphic libraries"
source "package/sdl2_mixer/Config.in"
source "package/sdl2_net/Config.in"
source "package/sdl2_ttf/Config.in"
source "package/spirv-headers/Config.in"
source "package/tk/Config.in"
source "package/vulkan-headers/Config.in"
source "package/vulkan-loader/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_SPIRV_HEADERS
bool "spirv-headers"
help
Machine-readable files for the SPIR-V Registry
https://www.khronos.org/registry/spir-v

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 32b4c6ae6a2fa9b56c2c17233c8056da47e331f76e117729925825ea3e77a739 spirv-headers-1.3.261.1.tar.gz
sha256 9b243f6f0bf44e295ff411a0f7b7642d1d0dff7cdc42507e9f7206f439e51b5a LICENSE

View File

@ -0,0 +1,15 @@
################################################################################
#
# spirv-headers
#
################################################################################
SPIRV_HEADERS_VERSION = 1.3.261.1
SPIRV_HEADERS_SITE = $(call github,KhronosGroup,SPIRV-Headers,sdk-$(SPIRV_HEADERS_VERSION))
SPIRV_HEADERS_LICENSE = MIT
SPIRV_HEADERS_LICENSE_FILES = LICENSE
SPIRV_HEADERS_INSTALL_STAGING = YES
SPIRV_HEADERS_INSTALL_TARGET = NO
$(eval $(cmake-package))