[U-Boot] [PATCH] Reduce build times

Daniel Schwierzeck daniel.schwierzeck at googlemail.com
Thu Nov 3 02:33:01 CET 2011


Hi Wolfgang,

On 02.11.2011 23:48, Wolfgang Denk wrote:
> Dear Daniel Schwierzeck,
>
> In message<CACUy__UjmnRYKMWiMB9pqr0_dS6cgiyo-MsoVY4eSH2zT6ZKHA at mail.gmail.com>  you wrote:
>>
>> On Wed, Nov 2, 2011 at 7:54 AM, Wolfgang Denk<wd at denx.de>  wrote:
>>> U-Boot Makefiles contain a number of tests for compiler features etc.
>>> which so far are executed again and again. =C2=A0On some architectures
>>> (especially ARM) this results in a large number of calls to gcc.
>>>
>>> This patch makes sure to run such tests only once, thus largely
>>> reducing the number of "execve" system calls.
>>>
>>
>> maybe you want to try this experimental patch.
>> http://patchwork.ozlabs.org/patch/123313/
>>
>> It significantly reduces the count of gcc calls by caching the results.
>> This also improves compilation times.
>
> Do you suggest this in addition or instead of the patch I posted?

as an additional but separate patch to further reduce the execution time 
of MAKEALL.

>
> Can you provide some measurements of build times and/or execve system
> calls?

I have attached the results of some MAKEALL runs in the patch mail (I 
cc-ed you).

Best regards,
Daniel



More information about the U-Boot mailing list