Re: Bizarro race conditions in the Git Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 6, 2010 at 21:14, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
> Ęvar Arnfjörš Bjarmason wrote:
>
>> Those interested in
>> poking their eyes can try:
>>
>>     while nice -n 30 make -j 15 clean all CFLAGS=-O0 CC=gcc; do 1; done
>
> You are asking make to simultaneously build and unbuild everything.
> It does not really surprise me that it gets confused.
>
> Does
>
>  while
>        nice -n 30 make -j 15 clean CFLAGS=-O0 CC=gcc &&
>        nice -n 30 make -j 15 all CFLAGS=-O0 CC=gcc
>  do
>        :
>  done
>
> behave better?

Yes that works. I thought that -j $n would mean that make would use $n
jobs to complete the first target, then move onto the next. Not
execute them all in paralell.

Thanks, and I have no idea about those Makefile/Perl changes.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]