22 lines
666 B
Makefile
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))
|