Re: Detecting parallel builds

2011-07-01 Thread Philip Prindeville
On 4/9/11 5:48 PM, David Boyce wrote: > On Sat, Apr 9, 2011 at 2:32 PM, Philip Prindeville > wrote: >> [philipp@builder ~/openwrt2]$ make -j5 -f /tmp/Makefile >> MAKEFLAGS= >> MFLAGS= >> MAKE=make >> PBUILD= >> MAKEFLAGS=w >> MFLAGS=-w >> MAKE=make >> make[1]: Entering directory `/home/philipp/ope

Re: Detecting parallel builds

2011-04-09 Thread Philip Prindeville
On 4/9/11 5:48 PM, David Boyce wrote: > On Sat, Apr 9, 2011 at 2:32 PM, Philip Prindeville > wrote: >> [philipp@builder ~/openwrt2]$ make -j5 -f /tmp/Makefile >> MAKEFLAGS= >> MFLAGS= >> MAKE=make >> PBUILD= >> MAKEFLAGS=w >> MFLAGS=-w >> MAKE=make >> make[1]: Entering directory `/home/philipp/ope

Re: Detecting parallel builds

2011-04-09 Thread Philip Prindeville
On 4/9/11 5:44 AM, David Boyce wrote: > On Fri, Apr 8, 2011 at 7:58 PM, Philip Prindeville > wrote: >> Didn't hear back, so I assume there is no easy way to detect (currently) a >> parallel build. > > There was a response by Edward Welbourne - didn't you see it? It's not > a documented/supporte

Re: Detecting parallel builds

2011-04-09 Thread David Boyce
On Sat, Apr 9, 2011 at 2:32 PM, Philip Prindeville wrote: > [philipp@builder ~/openwrt2]$ make -j5 -f /tmp/Makefile > MAKEFLAGS= > MFLAGS= > MAKE=make > PBUILD= > MAKEFLAGS=w > MFLAGS=-w > MAKE=make > make[1]: Entering directory `/home/philipp/openwrt2' > make[1]: Nothing to be done for `stop'. >

Re: Detecting parallel builds

2011-04-09 Thread David Boyce
On Fri, Apr 8, 2011 at 7:58 PM, Philip Prindeville wrote: > Didn't hear back, so I assume there is no easy way to detect (currently) a > parallel build. There was a response by Edward Welbourne - didn't you see it? It's not a documented/supported solution but I believe if you find any of -j, --j

Re: Detecting parallel builds

2011-04-08 Thread Philip Prindeville
Hi, Didn't hear back, so I assume there is no easy way to detect (currently) a parallel build. With that in mind, could an enhancement be added to facilitate this? Thanks, -Philip On 3/27/11 5:59 PM, Philip Prindeville wrote: > Hi. > > I looked for an answer to this but came up short. I'm

Re: Detecting parallel builds

2011-03-30 Thread Edward Welbourne
> I'm trying to find an easy way to detect inside of a makefile if > we're running as a parallel make or not. See 5.7.3 Communicating Options to a Sub-`make' and, particularly, the MAKEFLAGS variable. Not sure of details, but I expect any -j option to appear in it. Eddy. __

Detecting parallel builds

2011-03-27 Thread Philip Prindeville
Hi. I looked for an answer to this but came up short. I'm trying to find an easy way to detect inside of a makefile if we're running as a parallel make or not. If we are, then I want to turn off "progress meters" on 'wget' because they end up getting interlaced with everything else's output