Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Parallel build for scons ... access to MAKE_NJOBS?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Jaka Kranjc <smgl AT lynxlynx.info>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Parallel build for scons ... access to MAKE_NJOBS?
  • Date: Sat, 17 Oct 2009 19:19:00 +0200

On Saturday 17 of October 2009 12:20:03 Thomas Orgis wrote:
> Hi there...
>
> During update of ardour2 spell I was wondering if the scons build
> wouldn't be able to use more than one CPU... and it turns out that
> scons can do that, even with the same parameter, -jNUMBER.
> So... I could just parse /etc/sorcery/local/compile_config and use
> MAKE_NJOBS (which is called EXTRA_JOBS in the sorcery menu)... but
> would that be right?
It would be right for one core one processor systems. To get the right count,
you need to use count($DISTCC_HOSTS)*$JOBS_PER_HOST+$EXTRA_JOBS. The vars are
already available.

LP
--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page