summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2021-02-06 14:27:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-08 14:47:16 +0000
commitf5ef0e12d05f0b87f27cc4324b53a6b7cbcf1c15 (patch)
treedc8380575c25275f3e07c7844bbcdffbf5b55535 /meta
parent525493e3efc9480a671dd0cd848923725961fc12 (diff)
downloadpoky-f5ef0e12d05f0b87f27cc4324b53a6b7cbcf1c15.tar.gz
spirv-tools: fix reproducible
- remove build host path in cmake dev file to fix spirv-tools-dev reproducible https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210125-8161_obd/packages/diff-html/ (From OE-Core rev: 7795a919f127b5fde5eb2049ec4e1e22f16bfee7) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/spir/spirv-tools_2020.6.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-graphics/spir/spirv-tools_2020.6.bb b/meta/recipes-graphics/spir/spirv-tools_2020.6.bb
index 2c855d8d8e..142065fd07 100644
--- a/meta/recipes-graphics/spir/spirv-tools_2020.6.bb
+++ b/meta/recipes-graphics/spir/spirv-tools_2020.6.bb
@@ -17,6 +17,12 @@ DEPENDS = "spirv-headers"
17 17
18EXTRA_OECMAKE += "-DSPIRV-Headers_SOURCE_DIR=${STAGING_EXECPREFIXDIR}" 18EXTRA_OECMAKE += "-DSPIRV-Headers_SOURCE_DIR=${STAGING_EXECPREFIXDIR}"
19 19
20do_install_append_class-target() {
21 # reproducibility: remove build host path
22 sed -i ${D}${libdir}/cmake/SPIRV-Tools/SPIRV-ToolsTarget.cmake \
23 -e 's:${STAGING_DIR_HOST}::g'
24}
25
20FILES_SOLIBSDEV = "" 26FILES_SOLIBSDEV = ""
21FILES_${PN} += "${libdir}/*.so" 27FILES_${PN} += "${libdir}/*.so"
22 28