diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2021-02-06 14:27:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-08 14:47:16 +0000 |
commit | f5ef0e12d05f0b87f27cc4324b53a6b7cbcf1c15 (patch) | |
tree | dc8380575c25275f3e07c7844bbcdffbf5b55535 /meta | |
parent | 525493e3efc9480a671dd0cd848923725961fc12 (diff) | |
download | poky-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.bb | 6 |
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 | ||
18 | EXTRA_OECMAKE += "-DSPIRV-Headers_SOURCE_DIR=${STAGING_EXECPREFIXDIR}" | 18 | EXTRA_OECMAKE += "-DSPIRV-Headers_SOURCE_DIR=${STAGING_EXECPREFIXDIR}" |
19 | 19 | ||
20 | do_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 | |||
20 | FILES_SOLIBSDEV = "" | 26 | FILES_SOLIBSDEV = "" |
21 | FILES_${PN} += "${libdir}/*.so" | 27 | FILES_${PN} += "${libdir}/*.so" |
22 | 28 | ||