trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Re: [trinity-devel] Can TDE now build in parallel jobs (i.e. -j2 or -j4)?

From: "David C. Rankin" <drankinatty@...>
Date: Mon, 20 Jan 2014 21:41:22 -0600
On 01/20/2014 03:47 PM, Darrell Anderson wrote:
> The only build scripts where I limit NUMJOBS=-j1:
> 
> dependencies/avahi-tqt/avahi-tqt.SlackBuild
> libraries/pytdeextensions/pytdeextensions.SlackBuild
> tdebindings/tdebindings.SlackBuild
> 
> For everything else:
> 
> if [ "$NUMJOBS" = "" ]; then
>   NUMJOBS="`grep -c '^processor' /proc/cpuinfo`"
>   NUMJOBS=$(($NUMJOBS + 2))
>   export NUMJOBS="-j${NUMJOBS}"
> fi

I saw that. Thanks. Glad to know you have a list. After experiencing sever
spurious failures a year or so ago, I have been gunshy about using it. The
difference between -j1 and -j4 is phenomenal (haven't tried anything above
actual cores)

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