trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2014

Re: [trinity-devel] Testing parallel build

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 08 Mar 2014 17:05:09 -0600
On 03/08/2014 01:33 PM, Slávek Banko wrote:
> On Saturday 08 of March 2014 18:23:28 David C. Rankin wrote:
>> On 03/08/2014 09:54 AM, Slávek Banko wrote:
>>> Hi all,
>>>
>>> during a recent test building for Ubuntu 14.04 (Trusty), I also tested
>>> the parallel build of all packages. In the test I set 4 parallel jobs.
>>> The problems I have seen only the following packages:
>>>
>>> - tdebindings
>>> - tdegames
>>> - tdemultimedia
>>>
>>> - gwenview
>>> - kmplayer
>>> - koffice
>>
>> Slavek,
>>
>>   On Arch I have been building all packages with make -j4 except avahi-tqt,
>> pytdeextension and tdebindings:
>>
>> ## Get number of CPU core available for parallel jobs
>> CPUCORES="$(grep -c '^processor' /proc/cpuinfo)"
>> <snip>
>>   ## set number of jobs to build in parallel from CPUCORES
>>   if test "$CPUCORES" -gt 1; then
>>     case "${cpkg##*/}" in
>>       avahi-tqt | pytdeextensions | tdebindings ) export NUMJOBS="-j1";;
>>       * ) export NUMJOBS="-j${CPUCORES:-1}";;
>>     esac
>>   fi
>>
>>   I have not had any problems with tdegames, tdemultimedia, gwenview,
>> kmplayer or koffice.
> 
> Interesting. I have not noticed any problems with avahi-tqt or 
> pytdeextensions.
> 

I suspect through a bit of tweaking and testing we can probably build all in
parallel. I haven't tried avahi-tqt or pytdeextensions building in parallel in a
long time.

-- 
David C. Rankin, J.D.,P.E.