[LTP] [PATCH] build: Parallelize subdirectory recursion in generic_trunk_target

Andrea Cervesato andrea.cervesato@suse.com
Wed Oct 21 08:11:04 CEST 2026


Hi Petr,

> >  include $(top_srcdir)/include/mk/generic_trunk_target.mk
> > +
> > +# libkerntest.a in lib/ must be built before syscalls and mem consumers
> > +syscalls-all mem-all: lib-all
> 
> I wonder if this can be autogenerated, because this was not needed before.
> 
> I'm ok with this explicit definition. Probably in the future we should move it
> to libs/ (using it as LTPLIBS), which will solve the dependency.
> 
> > diff --git a/testcases/network/rpc/Makefile b/testcases/network/rpc/Makefile
> > index 6ecb1a665..8d12bdf1e 100644
> > --- a/testcases/network/rpc/Makefile
> > +++ b/testcases/network/rpc/Makefile
> > @@ -9,3 +9,6 @@ include $(top_srcdir)/include/mk/env_pre.mk
> >  INSTALL_TARGETS		:= *.sh
> 
> >  include $(top_srcdir)/include/mk/generic_trunk_target.mk
> > +
> > +# librpc-tirpc.a in rpc-tirpc/ must be built before basic_tests
> > +basic_tests-all: rpc-tirpc-all
> 
> Also librpc-tirpc.a should be moved into libs/ (if we still keep this code and
> not move it to libtirpc project where it'd make more sense).

I'm also thinking about it. We should move all libraries in there.
Let's see what Cyril says.

--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com


More information about the ltp mailing list