[CMake] Parallel build with ctest 2.8.2
emmanuel.christophe at gmail.com
Wed Jul 21 10:41:27 EDT 2010
Thanks for the information. I was not aware of the new ctest script
style: I got this from Luis when I set up the ITK nightly a while ago.
That's also what seems to appear on:
Do you have any pointer for the new-style ctest?
On Wed, Jul 21, 2010 at 19:50, David Cole <david.cole at kitware.com> wrote:
> I am guessing that this commit from Dec. 2009:
> to fix this bug:
> is related to your problem...
> I would recommend updating your script to a "new-style" (since ctest 2.4 at
> least) script that uses the ctest_build() (and related) functions rather
> than executing "-D Nightly" as a CTEST_COMMAND. But... that's just a way to
> make it work with this newer ctest. There should still be some way to pass
> -j flags to an old-style script, or for use with a -D command line.
> If anybody figures out why this is happening, please reply to this thread
> with a recommended fix to the code.
> I am not surprised that this bug fix introduced a new issue like this. It
> was a tricky one to try to figure out a completely backwards compatible
> solution for.
> On Wed, Jul 21, 2010 at 3:28 AM, Emmanuel Christophe
> <emmanuel.christophe at gmail.com> wrote:
>> On Tue, Jul 20, 2010 at 21:23, Bill Hoffman <bill.hoffman at kitware.com>
>> > 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:
>> Powered by www.kitware.com
>> Visit other Kitware open-source projects at
>> Please keep messages on-topic and check the CMake FAQ at:
>> Follow this link to subscribe/unsubscribe:
More information about the CMake