summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/spir/spirv-tools_1.3.290.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/spir/spirv-tools_1.3.290.0.bb')
-rw-r--r--meta/recipes-graphics/spir/spirv-tools_1.3.290.0.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-graphics/spir/spirv-tools_1.3.290.0.bb b/meta/recipes-graphics/spir/spirv-tools_1.3.290.0.bb
index 1270da5b85..d0f1c387f1 100644
--- a/meta/recipes-graphics/spir/spirv-tools_1.3.290.0.bb
+++ b/meta/recipes-graphics/spir/spirv-tools_1.3.290.0.bb
@@ -8,7 +8,9 @@ LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
9 9
10SRCREV = "0cfe9e7219148716dfd30b37f4d21753f098707a" 10SRCREV = "0cfe9e7219148716dfd30b37f4d21753f098707a"
11SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https" 11SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https \
12 file://0001-update_build_version.py-support-an-envvar-to-force-t.patch \
13 "
12PE = "1" 14PE = "1"
13# These recipes need to be updated in lockstep with each other: 15# These recipes need to be updated in lockstep with each other:
14# glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools 16# glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools
@@ -29,6 +31,11 @@ EXTRA_OECMAKE += "\
29 -DSPIRV_SKIP_TESTS=ON \ 31 -DSPIRV_SKIP_TESTS=ON \
30" 32"
31 33
34# Force the version description "git describe" related non-reproducibility
35do_compile:prepend() {
36 export FORCED_BUILD_VERSION_DESCRIPTION="${PV}"
37}
38
32do_install:append:class-target() { 39do_install:append:class-target() {
33 # Properly set _IMPORT_PREFIX in INTERFACE_LINK_LIBRARIES so that dependent 40 # Properly set _IMPORT_PREFIX in INTERFACE_LINK_LIBRARIES so that dependent
34 # tools can find the right library 41 # tools can find the right library