[PATCH] ci: fix dependency on cmdline

Robin Jarry rjarry at redhat.com
Thu Oct 15 18:23:30 CEST 2026


David Marchand, Oct 15, 2026 at 18:01:
> 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"

Why aren't the per-target dependencies honored?

-- 
Robin

# At participating locations only.



More information about the dev mailing list