As a test I added: -j `hostinfo | grep processors | tail -n1 | sed -e 's/^.*,[[:space:]]\([[:digit:]]*\)[[:space:]]processors.*$/\1/'`
just after the "make" command in the "glib2" package and "gnome-core" package (i had to add the standard compilescript to gnome-core) Here are the results: gnome-core UNPATCHED: [lsanca1-ar8-022-141:~] ben% time fink rebuild gnome-core 1740.030u 513.020s 45:20.72 82.8% 0+0k 1202+9886io 0pf+0w gnome-core PATCHED: [lsanca1-ar8-022-141:~] ben% time fink rebuild gnome-core 1714.480u 516.840s 36:03.14 103.1% 0+0k 383+4731io 0pf+0w Saved nine minutes. Not bad. Some packages it doesn't affect much, however: glib2 UNPATCHED: [lsanca1-ar8-022-141:~] ben% time fink rebuild glib2 202.440u 132.230s 6:51.35 81.3% 0+0k 67+2454io 0pf+0w glib2 PATCHED: [lsanca1-ar8-022-141:~] ben% time fink rebuild glib2 202.690u 135.790s 6:11.63 91.0% 0+0k 405+2271io 0pf+0w If we want to make this cleaner, perhaps we could add `hostinfo | grep processors | tail -n1 | sed -e 's/^.*,[[:space:]]\([[:digit:]]*\)[[:space:]]processors.*$/\1/'` as a percent expansion. If we are concerned that some users don't want this, maybe a field in fink.conf: MakeJobs: 2 (1 by default) that could be used in an info file like: make %j (and j would be replaced by "-j 2") The advantage of the fink.conf settings is - it is possible to set more "j" than processors, which might be even better on really fast systems, like those 2Ghz G5s you have at apple. Just throwing out ideas here. Shoot me down. :) -Ben, who promises implement all this stuff himself once he learns Perl. -- http://homepage.mac.com/bhines/ _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel