[U-Boot] [PATCH] Reduce build times

Wolfgang Denk wd at denx.de
Wed Nov 2 23:48:42 CET 2011


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?

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

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I can type faster than I can move a  mouse,  so  I  find  menu-driven
drawing packages time consuming and frustrating.      - W. R. Stevens


More information about the U-Boot mailing list