kumquat-buildroot/package/spirv-llvm-translator/spirv-llvm-translator.mk
James Hilliard 7d05e66e37 package/spirv-llvm-translator: fix/update version to v11.0.0-269
It appears that we were using a release branch instead of a stable
tag, since spirv-llvm-translator doesn't provide normal release
tags for clang v11.1.0 lets use a commit-ish based on the closest
tag.

Fixes:
 - http://autobuild.buildroot.net/results/157/157e85ab3445b0852d999b747765a0a020e90c06

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-07-18 12:10:46 +02:00

21 lines
852 B
Makefile

################################################################################
#
# 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-269-g13c76c4b275ae990d23883f7f15eec1a9adddc18
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))