[0/3] enable PPC in test-meson-builds on ubuntu

Message ID 20230831121058.725577-1-bruce.richardson@intel.com (mailing list archive)
Headers
Series enable PPC in test-meson-builds on ubuntu |

Message

Bruce Richardson Aug. 31, 2023, 12:10 p.m. UTC
  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
  

Comments

Thomas Monjalon Oct. 11, 2023, 9:14 a.m. UTC | #1
31/08/2023 14:10, Bruce Richardson:
> 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

Applied, thanks.