On Fri, Apr 8, 2011 at 7:58 PM, Philip Prindeville
<phil...@redfish-solutions.com> 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

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to