On Wednesday 30 September 2015 12:08:50 Richard W.M. Jones wrote: > This shaves about 20% off the compile time for the daemon subdirectory. > > See also: > https://rwmj.wordpress.com/2015/09/30/make-and-queuing-theory/#content > --- > daemon/Makefile.am | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/daemon/Makefile.am b/daemon/Makefile.am > index 1d29a0f..4ea3c88 100644 > --- a/daemon/Makefile.am > +++ b/daemon/Makefile.am > @@ -76,7 +76,11 @@ else > noinst_PROGRAMS = guestfsd > endif > > +# Compile the largest file (stubs.c) first. The other files are > +# listed alphabetically. See also: > +# https://rwmj.wordpress.com/2015/09/30/make-and-queuing-theory/#content > guestfsd_SOURCES = \ > + stubs.c \ > 9p.c \ > acl.c \ > actions.h \ > @@ -162,7 +166,6 @@ guestfsd_SOURCES = \ > stat.c \ > statvfs.c \ > strings.c \ > - stubs.c \ > swap.c \ > sync.c \ > syslinux.c \
Funky one -- I'd say to go with the patch, at most it won't make things better nor worse. Thanks, -- Pino Toscano
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
