<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jan 29, 2017 at 9:53 AM, Nils Gladitz <span dir="ltr"><<a target="_blank" href="mailto:nilsgladitz@gmail.com">nilsgladitz@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div bgcolor="#FFFFFF"><span class="gmail-"></span>FWIW I don't think -j does anything when you build the NightlyBuild
target given that that make invocation is not the one directly
performing the actual build.<br>
The only command being run by the NightlyBuild target would be
"ctest -D NightlyBuild" (nothing to parallelize when there is only
one command).<br>
CTest would spawn another make process for the build.<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
Nils<br>
</font></span></div>
</blockquote></div><br><div>Good point, I checked with the older version of make (4.1) and even
though it doesn't issue the warning, it is not building my project in
parallel.<br><br></div>I guess that brings up the obvious question: how does one use this target and take advantage of multiple processors? Basically, I'm calling it within a python loop that permutes various projects and configurations (release/debug/shared/static...) then puts the results on a self-hosted CDash server with make NightlySubmit.<br><br></div><div class="gmail_extra">I thought it used to parallelize the builds, but the script is a few years old and I wouldn't bet my life on it.<br><br></div><div class="gmail_extra">Dave<br></div></div>