glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] using multy core when compiling


From: Stéphane Magnenat
Subject: Re: [glob2-devel] using multy core when compiling
Date: Sat, 26 Jan 2008 10:22:35 +0100
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)

On Saturday 26 January 2008 01:18:25 Leo Wandersleb wrote:
> Hi!
>
> For all those having multy core CPUs and that are not so familiar with
> scons: use the option "-j" to run multiple jobs.
> scons -c && s=$(date +%s) && scons -j 2;e=$(date +%s);echo $(($e-$s))
> ...
> scons -c && s=$(date +%s) && scons -j 7;e=$(date +%s);echo $(($e-$s))
> shows me it takes only 85s
> compared to
> scons -c && s=$(date +%s) && scons;e=$(date +%s);echo $(($e-$s))
> that takes 160s.
>
> Greetings,
>
> Leo Wandersleb
>
> P.S.: That is more than one minute wasted time each time i compiled glob2
> :(((

Is there a way to let scons choose the number of process depending on the 
number of core/hardware threads?

Steph

-- 
http://stephane.magnenat.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]