buildroot/package/spirv-headers/spirv-headers.mk
Thomas Petazzoni 93a981cd9d package/spirv-headers: add host variant
We discovered that the existing host-spirv-llvm-translator package
downloads the spirv-headers during its build process, which of course
is very wrong. In order to fix this, we first introduce a host variant
of the spirv-headers.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-10-01 18:31:11 +02:00

18 lines
542 B
Makefile

################################################################################
#
# spirv-headers
#
################################################################################
# Keep in sync with spirv-tools version
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))
$(eval $(host-cmake-package))