package/spirv-llvm-translator: use host-spirv-headers
We recently discovered that host-spirv-llvm-translator downloads the SPIR-V headers during its build process, which is bad. Now that we have a host variant of spirv-headers, we use it to avoid the "downloading during the build". Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
93a981cd9d
commit
d249ed0bcd
@ -10,11 +10,13 @@ SPIRV_LLVM_TRANSLATOR_VERSION = v15.0.0-46-ge82ecc2bd7295604fcf1824e47c95fa6a09c
|
||||
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_DEPENDENCIES = host-clang host-llvm host-spirv-headers
|
||||
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
|
||||
-DLLVM_SPIRV_INCLUDE_TESTS=OFF \
|
||||
-DLLVM_EXTERNAL_PROJECTS="SPIRV-Headers" \
|
||||
-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=$(HOST_DIR)/include
|
||||
|
||||
$(eval $(host-cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user