From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Thu, 03 Nov 2011 02:33:01 +0100 Subject: [U-Boot] [PATCH] Reduce build times In-Reply-To: <20111102224842.46B8316F8444@gemini.denx.de> References: <1320216842-29785-1-git-send-email-wd@denx.de> <20111102224842.46B8316F8444@gemini.denx.de> Message-ID: <4EB1EF4D.1080400@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, On 02.11.2011 23:48, Wolfgang Denk wrote: > Dear Daniel Schwierzeck, > > In message you wrote: >> >> On Wed, Nov 2, 2011 at 7:54 AM, Wolfgang Denk 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