aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/build_powerpc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ci/build_powerpc.sh')
-rwxr-xr-xscripts/ci/build_powerpc.sh12
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/ci/build_powerpc.sh b/scripts/ci/build_powerpc.sh
index 962a6a465..a213ee1d3 100755
--- a/scripts/ci/build_powerpc.sh
+++ b/scripts/ci/build_powerpc.sh
@@ -1,7 +1,7 @@
#!/bin/bash
set -e
-TARGET_ARCH=powerpc-linux-gnu
+export TARGET_ARCH=powerpc-linux-gnu
if [ "${CC#clang}" != "${CC}" ] ; then
export CC="clang --target=${TARGET_ARCH}"
export CXX="clang++ --target=${TARGET_ARCH}"
@@ -9,11 +9,7 @@ else
export CC="${TARGET_ARCH}-gcc"
export CXX="${TARGET_ARCH}-g++"
fi
+# No DPDK on PowerPC
+export CONF="${CONF} --disable-dpdk"
-cd "$(dirname "$0")"/../..
-./bootstrap
-./configure \
- --host=${TARGET_ARCH} --build=x86_64-linux-gnu \
- ${CONF}
-
-make -j 8
+exec "$(dirname "$0")"/build.sh