[CMake] Parallel build with ctest 2.8.2

Emmanuel Christophe emmanuel.christophe at gmail.com
Wed Jul 21 03:28:04 EDT 2010


On Tue, Jul 20, 2010 at 21:23, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> On 7/19/2010 11:10 PM, Emmanuel Christophe wrote:
>>
>> Hi all,
>>
>> I used to do parallel build for my nightly with ctest by putting
>> MAKECOMMAND:STRING=/usr/bin/make -i -j8
>> in my .cmake script.
>>
>
>
>
> http://www.cdash.org/CDash/buildSummary.php?buildid=669361
> Build command: /usr/bin/make -i
> Start Time: 2010-07-19T11:51:09 EDT
> End Time: 2010-07-19T13:56:33 EDT
>
> So, it is not using make -j.   You should look at the CMakeCache.txt and the
> DartConfiguration.tcl file and what values they have.


On the CMakeCache.txt:
//Command used to build entire project from the command line.
MAKECOMMAND:STRING=/usr/bin/make -i -j8

On the DartConfiguration.tcl:
MakeCommand: /usr/bin/make -i

There is a mismatch here...

>
> I would have to see the cmake script you are using.
>

The script is attached with the submissions:
http://www.cdash.org/CDash/viewNotes.php?buildid=669361


Emmanuel


More information about the CMake mailing list