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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sun Jan 15 11:40:13 UTC 2012


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


More information about the uClibc mailing list