Hi Dave, 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: http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest Do you have any pointer for the new-style ctest? Thanks, Emmanuel On Wed, Jul 21, 2010 at 19:50, David Cole <david.c...@kitware.com> wrote: > I am guessing that this commit from Dec. 2009: > 0b38bb4c535ae972d7f973e3e69945a6d0c14d75 > to fix this bug: > http://public.kitware.com/Bug/view.php?id=2336 > 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. > > Thanks, > David > > On Wed, Jul 21, 2010 at 3:28 AM, Emmanuel Christophe > <emmanuel.christo...@gmail.com> wrote: >> >> On Tue, Jul 20, 2010 at 21:23, Bill Hoffman <bill.hoff...@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 >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/CMake_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.cmake.org/mailman/listinfo/cmake > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake