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 11:23:28 -0600
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.

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