> -----Original Message-----
> Sent: Tuesday, April 26, 2011 11:48 AM
> To: [email protected]
> Subject: Is parallelism (-j#) available?
> 
> Hi all,
> 
> We typically run our builds using 'make -j16' and we have several internal
> programs that need to know what level of parallelism was specified.  We're
> using Makefiles (more specifically, Automake Makefile.am's), but I wouldn't
> expect the -j to be available as a Makefile variable.  So the question is: how
> can I get that -j16 within my Makefile?
> 
> Thanks,
> Justin

Hi Justin,
This question was asked and answered a few months back.
Short answer is: there is no way within GNU make to get that info.

However could you wrap things with shell scripts and use shell variables to 
achieve what you want? 

-raleigh


_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to