parallel compilation in the dashboards

William A. Hoffman billlist at nycap.rr.com
Fri Mar 31 19:21:58 CEST 2006


At 12:01 PM 3/31/2006, Matt Rogers wrote:
>On Friday 31 March 2006 10:04, William A. Hoffman wrote:
>> At 10:40 AM 3/31/2006, Matt Rogers wrote:
>> >On Friday 31 March 2006 09:35, William A. Hoffman wrote:
>> >> At 10:17 AM 3/31/2006, Matt Rogers wrote:
>> >> >and replying to myself:
>> >> >
>> >> >I'm attempting to override the MAKECOMMAND variable to add "-j4" in the
>> >> >CMakeCache.txt file for continuous builds, but that doesn't have the
>> >> > desired effect. Should I override something else as well?
>> >>
>> >> That should work, what is in the CMakeCache.txt that you have?
>> >> The notes file looks good.   I assume, you re-ran the script after
>> >> added the -j4, as it only writes the cache the first time.
>> >
>> >The CMakeCache.txt file has the following:
>> >
>> >//Missing description
>> >MAKECOMMAND:STRING=/usr/bin/make -i -j4
>> >
>> >i've just been letting the script run via the cron job and the -j4 has
>> > been in there for a few days. I'll try again with a clean builddir and
>> > see if that helps.
>>
>> If that is what is there, that is what it should be using.
>> Can you describe what is happening?  If you want you can
>> take it off the list and send the email to me directly,
>> and we can post the result.
>>
>>
>the distributed compiler is used, but only one job is run at a time. it's very 
>much like the "-j4" parameter to make is not used or does not take effect.

You could try adding a -V -V to the ctest that runs this script, and check
the extra output.

-Bill



More information about the Kde-buildsystem mailing list