X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=devtools%2Ftest-meson-builds.sh;h=e8df017596d13042f5548975fe64f816ce83d04c;hb=1e0f9b07755df9855d7c53365d17c56d33d4efbd;hp=c1ff2bb50ac984d39ecc740ce37acc6103d8c97b;hpb=0f96499d5d3655bd0ed76c14cd4d241239c0272b;p=dpdk.git diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index c1ff2bb50a..e8df017596 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -74,7 +74,12 @@ config () # return fi options= - options="$options --werror -Dexamples=all" + options="$options --werror" + if echo $* | grep -qw -- '--default-library=shared' ; then + options="$options -Dexamples=all" + else + options="$options -Dexamples=l3fwd" # save disk space + fi options="$options --buildtype=debugoptimized" for option in $DPDK_MESON_OPTIONS ; do options="$options -D$option"