[U-Boot] [PATCH v3] Allow for parallel builds and saved output

Andy Fleming afleming at freescale.com
Tue May 8 21:55:20 CEST 2012


On May 8, 2012, at 2:50 PM, Marek Vasut wrote:

> 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 at 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 ?

Probably not. I was working on a follow-on patch that *probably* fixes that (I haven't had time to run your test). I'll submit that when I manage to get these MMC patches applied.

Andy




More information about the U-Boot mailing list