X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=devtools%2Ftest-meson-builds.sh;h=a87de635a2cb72e20b392e52f1540ea705a44043;hb=a617494eeb01ff;hp=64a022ccf1184b16ae34ae4673c05937177d8060;hpb=3b6431396afa7e5ac28bc8f461b93a3841f5e62a;p=dpdk.git diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index 64a022ccf1..a87de635a2 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -154,10 +154,16 @@ build () # fi rm -rf $abirefdir/build - config $abirefdir/src $abirefdir/build $cross $* + config $abirefdir/src $abirefdir/build $cross \ + -Dexamples= $* compile $abirefdir/build install_target $abirefdir/build $abirefdir/$targetdir $srcdir/devtools/gen-abi.sh $abirefdir/$targetdir + + # save disk space by removing static libs and apps + find $abirefdir/$targetdir/usr/local -name '*.a' -delete + rm -rf $abirefdir/$targetdir/usr/local/bin + rm -rf $abirefdir/$targetdir/usr/local/share fi install_target $builds_dir/$targetdir \ @@ -238,6 +244,6 @@ if pkg-config --define-prefix libdpdk >/dev/null 2>&1; then export PKGCONF="pkg-config --define-prefix" for example in cmdline helloworld l2fwd l3fwd skeleton timer; do echo "## Building $example" - $MAKE -C $DESTDIR/usr/local/share/dpdk/examples/$example clean all + $MAKE -C $DESTDIR/usr/local/share/dpdk/examples/$example clean shared static done fi