From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 8 May 2012 21:50:05 +0200 Subject: [U-Boot] [PATCH v3] Allow for parallel builds and saved output In-Reply-To: <2C71542C-9E49-4604-BB53-6C2AE60CF619@freescale.com> References: <1335332031-24138-1-git-send-email-afleming@freescale.com> <4FA97151.2090804@aribaud.net> <2C71542C-9E49-4604-BB53-6C2AE60CF619@freescale.com> Message-ID: <201205082150.05943.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Andy Fleming, > On May 8, 2012, at 2:17 PM, Albert ARIBAUD wrote: > > Le 06/05/2012 03:48, Marek Vasut a ?crit : > >> Dear Wolfgang Denk, > >> > >>> Dear Andy Fleming, > >>> > >>> In message<1335332031-24138-1-git-send-email-afleming@freescale.com> > >>> you > >> > >> wrote: > >>>> The MAKEALL script cleverly runs make with the appropriate options > >>>> to use all of the cores on the system, but your average U-Boot build > >>>> can't make much use of more than a few cores. If you happen to have > >>>> a many-core server, your builds will leave most of the system idle. > >> > >> [...] > >> > >>>> MAKEALL | 137 > >>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 > >>>> files changed, 122 insertions(+), 15 deletions(-) > >>> > >>> Applied, thanks. > >> > >> What do you get if you run: > >> > >> ./MAKEALL -a arm -l > >> > >> ? :-) > > > > I am being hit by a spurious build failure in parallel build: pdnb3 > > succeeds when built alone but fails in a MAKEALL arm with the following > > .ERR: > > > > mv: cannot stat > > `/home/uboot/src/u-boot-arm/build/pdnb3/include/autoconf.mk.tmp': No > > such file or directory > > > > Looks like several builds competed for this temp file name :)... > > I already submitted the patch for this. It's because pdnb3 was being built > twice (and therefore twice concurrently). Wolfgang just has to apply that > patch, too. :) Does it also fix ./MAKEALL -a arm -l ? > > Andy Best regards, Marek Vasut