kumquat-buildroot/package/spirv-llvm-translator/spirv-llvm-translator.mk

21 lines
852 B
Makefile
Raw Normal View History

################################################################################
#
# spirv-llvm-translator
#
################################################################################
# Generate version string using:
# git describe --tags --match 'v11*' --abbrev=40 origin/llvm_release_110
SPIRV_LLVM_TRANSLATOR_VERSION = v11.0.0-297-ga619b34bce55360d79fea9058a93ded04919f2b2
SPIRV_LLVM_TRANSLATOR_SITE = $(call github,KhronosGroup,SPIRV-LLVM-Translator,$(SPIRV_LLVM_TRANSLATOR_VERSION))
SPIRV_LLVM_TRANSLATOR_LICENSE = NCSA
SPIRV_LLVM_TRANSLATOR_LICENSE_FILES = LICENSE.TXT
HOST_SPIRV_LLVM_TRANSLATOR_DEPENDENCIES = host-clang host-llvm
HOST_SPIRV_LLVM_TRANSLATOR_CONF_OPTS = \
-DLLVM_BUILD_TOOLS=ON \
-DLLVM_DIR=$(HOST_DIR)/lib/cmake/llvm \
-DLLVM_SPIRV_BUILD_EXTERNAL=YES \
-DLLVM_SPIRV_INCLUDE_TESTS=OFF
$(eval $(host-cmake-package))