X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=.ci%2Flinux-build.sh;h=d079801d78a2466ccdc4cb0c3fcbb9db5dd4343e;hb=4e648fb70c9de2597a6987c88f0a5aa16a28a2d1;hp=d500c4c002df1f781dd70caca22edc66458bed7b;hpb=d3c9274f76826d4e88eb178f1f353b983c2c11e6;p=dpdk.git diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index d500c4c002..d079801d78 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -42,9 +42,15 @@ if [ "$BUILD_32BIT" = "1" ]; then export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig" fi +if [ "$DEF_LIB" = "static" ]; then + OPTS="$OPTS -Dexamples=l2fwd,l3fwd" +else + OPTS="$OPTS -Dexamples=all" +fi + OPTS="$OPTS --default-library=$DEF_LIB" OPTS="$OPTS --buildtype=debugoptimized" -meson build --werror -Dexamples=all $OPTS +meson build --werror $OPTS ninja -C build if [ "$AARCH64" != "1" ]; then