On Thu, 15 Oct 2026 at 18:23, Robin Jarry <[email protected]> wrote: > > 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 <[email protected]> > > --- > > .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?
Examples have hardcoded dependencies see examples/meson.build. Since the mini target explicitly requests l2fwd, this triggers an error. -- David Marchand

