Hello all, Multiple-core processor are increasing in popularity so, what about adding an option in CRUX to make use of these extra cores? Specifically, we could set some sort of "flag" that would replace "make" with "make -j3" when building ports. As an example, I have a dual processor PIII 700 machine with 512 MB RAM: /usr/ports/opt/xchat: "make" -> build time = 2:35 "make -j3" -> build time = 1:55 /usr/ports/opt/gqview: "make" -> build time = 2:11 "make -j3" -> build time = 1:20 These are small programs; but think about the time saved with firefox or qt3 or kde. So, what do you think? Chris
On Sat, Apr 28, 2007 at 09:43:33AM +0300, Antti Nykänen wrote:
On 2007-04-27 at 23:29, Chris Pemberton wrote:
Specifically, we could set some sort of "flag" that would replace "make" with "make -j3" when building ports.
export MAKEFLAGS=-j3 in /etc/pkgmk.conf
But be aware that not all progs behaves well with parallel builds. See https://crux.nu/bugs/?do=details&task_id=141. HTH Jürgen -- Juergen Daubert | mailto:jue@jue.li Korb, Germany | http://jue.li/crux
participants (3)
-
Antti Nykänen
-
Chris Pemberton
-
Juergen Daubert