kumquat-buildroot/package/spirv-tools/spirv-tools.mk
Romain Naour 0a01085abe package/spirv-tools: new package
This package is required by mesa3d for building rusticl:

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

As the version needs to be kept in sync between spirv-headers and
spirv-tools, we add a small comment about this in each package.

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>
2023-10-01 18:31:10 +02:00

22 lines
666 B
Makefile

################################################################################
#
# spirv-tools
#
################################################################################
# Keep in sync with spirv-headers version
SPIRV_TOOLS_VERSION = 1.3.261.1
SPIRV_TOOLS_SITE = $(call github,KhronosGroup,SPIRV-Tools,sdk-$(SPIRV_TOOLS_VERSION))
SPIRV_TOOLS_LICENSE = Apache-2.0
SPIRV_TOOLS_LICENSE_FILES = LICENSE
SPIRV_TOOLS_DEPENDENCIES = spirv-headers
SPIRV_TOOLS_INSTALL_STAGING = YES
SPIRV_TOOLS_CONF_OPTS = \
-DSPIRV-Headers_SOURCE_DIR=$(STAGING_DIR)/usr \
-DSPIRV_TOOLS_BUILD_STATIC=OFF \
-DSPIRV_SKIP_TESTS=ON \
-DSPIRV_WERROR=OFF
$(eval $(cmake-package))