]> git.droids-corp.org - dpdk.git/blobdiff - .ci/linux-build.sh
common/mlx5: fix user mode register access command
[dpdk.git] / .ci / linux-build.sh
index d500c4c002df1f781dd70caca22edc66458bed7b..d079801d78a2466ccdc4cb0c3fcbb9db5dd4343e 100755 (executable)
@@ -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