@@ -10,6 +10,7 @@ SPIRV_TOOLS_SITE = $(call github,KhronosGroup,SPIRV-Tools,sdk-$(SPIRV_TOOLS_VERS
SPIRV_TOOLS_LICENSE = Apache-2.0
SPIRV_TOOLS_LICENSE_FILES = LICENSE
SPIRV_TOOLS_DEPENDENCIES = spirv-headers
+HOST_SPIRV_TOOLS_DEPENDENCIES = host-spirv-headers
SPIRV_TOOLS_INSTALL_STAGING = YES
SPIRV_TOOLS_CONF_OPTS = \
@@ -18,4 +19,11 @@ SPIRV_TOOLS_CONF_OPTS = \
-DSPIRV_SKIP_TESTS=ON \
-DSPIRV_WERROR=OFF
+HOST_SPIRV_TOOLS_CONF_OPTS = \
+ -DSPIRV-Headers_SOURCE_DIR=$(HOST_DIR) \
+ -DSPIRV_TOOLS_BUILD_STATIC=OFF \
+ -DSPIRV_SKIP_TESTS=ON \
+ -DSPIRV_WERROR=OFF
+
$(eval $(cmake-package))
+$(eval $(host-cmake-package))
Needed for mesa3d bump to 24.1.0. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> --- package/spirv-tools/spirv-tools.mk | 8 ++++++++ 1 file changed, 8 insertions(+)