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: Eric Sandall <eric AT sandall.us>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Parallel build for scons ... access to MAKE_NJOBS?
  • Date: Sat, 21 Nov 2009 21:14:39 -0800

On Sat, 17 Oct 2009 12:20:03 +0200
Thomas Orgis <thomas-forum AT orgis.org> 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?
>
> What would be the proper way to add parallel builds for scons spells?
> Or, for that matter, for any spell that does not use default_build?
>
>
> Alrighty then,

Once you get this working you can modify FUNCTIONS to have a
scons_build() to pass the correct parameters. Developers could then use
this instead. :)

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285

Attachment: signature.asc
Description: PGP signature



  • Re: [SM-Discuss] Parallel build for scons ... access to MAKE_NJOBS?, Eric Sandall, 11/22/2009

Archive powered by MHonArc 2.6.24.

Top of Page