Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-31 Thread Dave Flogeras
On Mon, Jan 30, 2017 at 9:38 AM, Nils Gladitz wrote: > > I don't know how to do this with the generic dashboard targets ... > assuming no one else does either you could give CTest script mode a try > (ctest -S). > In script mode the ctest_build() command has a FLAGS option

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-30 Thread Nils Gladitz
On 01/30/2017 02:26 PM, Dave Flogeras wrote: On Sun, Jan 29, 2017 at 9:53 AM, Nils Gladitz > wrote: FWIW I don't think -j does anything when you build the NightlyBuild target given that that make invocation is not the one

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-30 Thread Dave Flogeras
On Sun, Jan 29, 2017 at 9:53 AM, Nils Gladitz wrote: > 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. > The only command being run by the NightlyBuild

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-29 Thread Dan Liew
> What's weirder (and I forgot to mention) is that if I just build the project > normally outside of my regression testing script (ie. "make -j5"), I don't > get the jobserver warning. The reason for this error message from make is given at [1]. I've seen something like this before when my build

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-29 Thread Nils Gladitz
On 29.01.2017 13:29, Dave Flogeras wrote: I tried with "make -j5 VERBOSE=1 NightlyBuild" but didn't see anything indicative on the console, or in the cmake output files that shed any light for me. What's weirder (and I forgot to mention) is that if I just build the project normally outside

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-29 Thread Dave Flogeras
Hey Paul On Sat, Jan 28, 2017 at 10:43 AM, Paul Smith wrote: > My suspicion is that somehow the recursion is invoking an older version > of make. In GNU make 4.2 the jobserver interface was stabilized and > published, so that other build tools could take advantage of it

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-28 Thread Paul Smith
On Fri, 2017-01-27 at 15:45 -0400, Dave Flogeras wrote: > I've recently upgraded to CMake 3.7.2 (and gnu make-4.2.1). Now, when > I execute 'make -j5 NightlyBuild', I get the following new (to me) > warning: > > "gmake[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make >