[asterisk-bugs] [Asterisk 0014797]: [patch] Make. Parallel build on multi CPU host
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Apr 1 21:23:12 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14797
======================================================================
Reported By: arkadia
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14797
Category: Core/BuildSystem
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-03-31 16:10 CDT
Last Modified: 2009-04-01 21:23 CDT
======================================================================
Summary: [patch] Make. Parallel build on multi CPU host
Description:
On multi CPU host you can build project several times faster if you tell
'make' to execute several jobs at a time.
E.g. for dual core PC:
make -j 2
Asterisk Makefile doesn't support -j option too well because of overriding
$(MAKE) variable.
======================================================================
----------------------------------------------------------------------
(0102591) jtodd (administrator) - 2009-04-01 21:23
http://bugs.digium.com/view.php?id=14797#c102591
----------------------------------------------------------------------
I'm not a "makefile" expert by any means. In fact, the "-j" option is new
to me. This patch would seem useful if there existed a menuselect function
(or perhaps just an auto-detect in ./configure?) which automatically
detected the number of CPUs in the system and assigned the appropriate
value to the make options. Many machines now come with at least two
cores, and often many more than that. Having a default behavior that takes
advantage of the additional speed seems like it would be desirable.
Or is this automating too much?
Issue History
Date Modified Username Field Change
======================================================================
2009-04-01 21:23 jtodd Note Added: 0102591
======================================================================
More information about the asterisk-bugs
mailing list