[PATCH] ci: fix dependency on cmdline

David Marchand david.marchand at redhat.com
Thu Oct 15 18:01:57 CEST 2026


The unit tests, testpmd and some examples depend on the cmdline library.
Without it, the "mini" target in GHA ends up as a build failure.

Fixes: 6de2c9c791b8 ("build: make cmdline optional")

Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 .ci/linux-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index 4f266940e9..2c7386d320 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -120,7 +120,7 @@ else
 fi
 if [ "$MINI" = "true" ]; then
     OPTS="$OPTS -Denable_drivers=net/null"
-    OPTS="$OPTS -Ddisable_libs=*"
+    OPTS="$OPTS -Denable_libs=cmdline"
     if [ "$DEF_LIB" = "static" ]; then
         OPTS="$OPTS -Dexamples=l2fwd"
     fi
-- 
2.54.0



More information about the dev mailing list