2022-03-23 00:22:17 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# spirv-llvm-translator
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-07-18 08:35:45 +02:00
|
|
|
# Generate version string using:
|
|
|
|
# git describe --tags --match 'v11*' --abbrev=40 origin/llvm_release_110
|
2022-09-30 05:37:22 +02:00
|
|
|
SPIRV_LLVM_TRANSLATOR_VERSION = v11.0.0-297-ga619b34bce55360d79fea9058a93ded04919f2b2
|
2022-03-23 00:22:17 +01:00
|
|
|
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))
|