[Top][All Lists]

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

Re: Detecting parallel builds

From: David Boyce
Subject: Re: Detecting parallel builds
Date: Sat, 9 Apr 2011 08:44:52 -0400

On Fri, Apr 8, 2011 at 7:58 PM, Philip Prindeville
<address@hidden> 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,
--jobs, or --jobserver-fds in $(MAKEFLAGS) the build is parallel.
Since the latter two both match --jobs%, this should boil down to two
nested findstring function calls on the MAKEFLAGS value.

David Boyce

reply via email to

[Prev in Thread] Current Thread [Next in Thread]