diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-15 15:11:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-16 22:39:35 +0000 |
commit | dd1a7c3cabf4b25fbfbd06c91761b88c47b079cc (patch) | |
tree | 897ddb3b5e41b68517ade84a9f47506d927cbaf6 /meta | |
parent | 87e7057b71fdd0f084c0b7e3396067bea0eb3d24 (diff) | |
download | poky-dd1a7c3cabf4b25fbfbd06c91761b88c47b079cc.tar.gz |
vulkan-samples: Disable PCH for reproducibility
We're still seeing reproducibility issues on the autobuilder with this
recipe. I was able to make the output "match" by rebuilding the PCH and
then rebuilding the binary objects, proving the PCH isn't deterministic.
Disable PCH until we can get to the bottom of why that may be.
(From OE-Core rev: 95686432ecb7e411155563643d59a3d5f683937c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb index 447d498fb3..a61dddeb3b 100644 --- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb +++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb | |||
@@ -26,4 +26,8 @@ FILES_${PN} += "${datadir}" | |||
26 | # used for logging with LOGE in the code. We need to make this match the value we use | 26 | # used for logging with LOGE in the code. We need to make this match the value we use |
27 | # in the debug source remapping from CFLAGS | 27 | # in the debug source remapping from CFLAGS |
28 | # | 28 | # |
29 | EXTRA_OECMAKE = "-DCMAKE_DEBUG_SRCDIR=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/" \ No newline at end of file | 29 | EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/" |
30 | # Binaries built with PCH enabled don't appear reproducible, differing results were seen | ||
31 | # from some builds depending on the point the PCH was compiled. Disable it to be | ||
32 | # deterministic | ||
33 | EXTRA_OECMAKE += "-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON" | ||