[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[glob2-devel] using multy core when compiling
From: |
Leo Wandersleb |
Subject: |
[glob2-devel] using multy core when compiling |
Date: |
Sat, 26 Jan 2008 01:18:25 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.9 (X11/20080109) |
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 :(((
- [glob2-devel] using multy core when compiling,
Leo Wandersleb <=