To help developers catch errors as soon as possible, we want to ensure that as wide a variety of builds are done by test-meson-builds as possible. Unfortunately, for those using Ubuntu, the shipped version of GCC compiler for PowerPC on that system is not correctly detected by the script. We fix this by detecting if Ubuntu is in use, and pointing to the correct cross-file in that case.
On enabling those PPC builds on my system, a couple of other build issues we encountered. These are fixed by the set before enabling the build in the script. Bruce Richardson (3): vhost: fix build for powerpc build: fix failures due to incompatible IPSec lib devtools: enable testing ppc builds on ubuntu devtools/test-meson-builds.sh | 3 +++ drivers/crypto/ipsec_mb/meson.build | 5 +++++ lib/vhost/vduse.c | 9 ++++++--- 3 files changed, 14 insertions(+), 3 deletions(-) -- 2.39.2