[PATCH] tests: speed up make invocation in test clean and fix verbosity

Mike Frysinger vapier at gentoo.org
Sun Jan 15 17:42:37 UTC 2012


On Sunday 15 January 2012 06:40:13 Bernhard Reutner-Fischer wrote:
> On Sat, Jan 14, 2012 at 07:33:50PM -0500, Mike Frysinger wrote:
> >On Saturday 14 January 2012 19:31:16 Mike Frysinger wrote:
> >> On Saturday 14 January 2012 10:10:19 Carmelo AMOROSO wrote:
> >> > Test clean can be invoked with -j to exploits parallelism.
> >> 
> >> why don't you use `make -j` then ?  i don't think -j munging belongs in
> >> any Makefile here.
> >
> >also, you might be interested in the commit i just pushed which brings
> >`make clean` down from ~20 seconds to ~2 seconds.  the underlying issue
> >wasn't really lack of parallelism in the make system.
> 
> The real issue is that clean-targets (and perhaps config targets, too)
> should not trip evaluation of {C,LD,CPP}FLAGS in the first place.
> i.e. something like
> 
> ifneq ($(filter $(clean_targets),$(MAKECMDGOALS)),)
> OPTIMIZATION:=
> [whole flag fiddling block here]
> endif

true ... and now that much of the flag evaluation has been centralized, we can 
do that in the core code :)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20120115/f30231a5/attachment.asc>


More information about the uClibc mailing list