summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorBruce Richardson <[email protected]>2023-08-31 13:10:58 +0100
committerThomas Monjalon <[email protected]>2023-10-11 11:13:30 +0200
commitb812cb02f5514005b558f10fc7d4eb9b39439775 (patch)
tree0799ef248e60c513fa339c9a149f9c2d8b048028 /devtools
parentfb94d8243894524316d872c8299b9e793832d991 (diff)
devtools: enable testing PPC build on Ubuntu
When running PPC builds with the packaged Ubuntu compiler, a different cross-file needs to be used. Adjust the test-meson-builds script to take account of this, so that developers can easier pick up on errors. Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Tyler Retzlaff <[email protected]>
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/test-meson-builds.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh
index c41659d28b..605a855999 100755
--- a/devtools/test-meson-builds.sh
+++ b/devtools/test-meson-builds.sh
@@ -282,6 +282,9 @@ build build-loongarch64-generic-gcc $f ABI $use_shared
# IBM POWER
f=$srcdir/config/ppc/ppc64le-power8-linux-gcc
+if grep -q 'NAME="Ubuntu"' /etc/os-release ; then
+ f=$f-ubuntu
+fi
build build-ppc64-power8-gcc $f ABI $use_shared
# generic RISC-V