tools-profile: disable valgrind for powerpc soft-float
PATCH 1/2 tools-profile: disable valgrind for powerpc soft-float
Since valgrind does not build for powerpc soft-float, disable it from the tools-profile packagegroup so that it can still be enabled for such architectures (but without valgrind of course).
Signed-off-by Valentin Longchamp <[email protected]>
--- .../packagegroups/packagegroup-core-tools-profile.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +1 -0
@@ -61,6 +61,7 @@ VALGRIND_armv6 = "" VALGRIND_armeb = "" VALGRIND_aarch64 = "" VALGRIND_riscv64 = "" +VALGRIND_powerpc = "${@bb.utils.contains('TARGET_FPU', 'soft', '', 'valgrind', d)}" VALGRIND_linux-gnux32 = "" VALGRIND_linux-gnun32 = ""
Signature · 1 line
2.25.1
PATCH 2/2 valgrind: disable it for powerpc soft-float
valgrind doesn't build for powerpc soft-float. It is thus disabled for such architectures.
Signed-off-by Valentin Longchamp <[email protected]>
--- meta/recipes-devtools/valgrind/valgrind_3.16.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-devtools/valgrind/valgrind_3.16.0.bb +3 -0
@@ -52,6 +52,9 @@ COMPATIBLE_HOST_armv4 = 'null' COMPATIBLE_HOST_armv5 = 'null' COMPATIBLE_HOST_armv6 = 'null' +# valgrind fails with powerpc soft-float +COMPATIBLE_HOST_powerpc = "${@bb.utils.contains('TARGET_FPU', 'soft', 'null', '.*-linux', d)}" + # X32 isn't supported by valgrind at this time COMPATIBLE_HOST_linux-gnux32 = 'null' COMPATIBLE_HOST_linux-muslx32 = 'null'
Signature · 1 line
2.25.1