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 _______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
