[Kolab-devel] [issue3412] More efficient building with OpenPKG, use more CPU cores with 'make -j'

Thomas Arendsen Hein kolab-issues at intevation.de
Tue Feb 17 15:05:13 CET 2009


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

Now that multiple CPU cores are very common, building the server should benefit
from this.
OpenPKG already has a mechanism to use 'make -j CPUs*2' in some situations, see
"obmtool and more than one CPU" on
http://www.kolab.org/pipermail/kolab-users/2006-January/004283.html

$ /kolab/lib/openpkg/rpmtool mflags -O make
--no-print-directory -j4
$ grep 'make.*-j4' /root/kolab-install.log |wc -l
22

It would be good to see which packages can be built with -j and enable this
optimization.

For building the initial openpkg package one could use the flags --use_make to
enable "make -j" and possibly even --use_cc to enable distcc/icecc or ccache

----------
assignedto: thomas
messages: 18603
nosy: bernhard, martin, thl, thomas, till, wilde, wrobel
priority: feature
status: unread
title: More efficient building with OpenPKG, use more CPU cores with 'make -j'
topic: server
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue3412>
___________________________________________________




More information about the devel mailing list