[Build-common-hackers] Bug#505328: Bug#505328: Add support for parallel builds
fsateler at gmail.com
Sun Jun 14 13:39:46 UTC 2009
El domingo 14 de junio, Peter Eisentraut escribió:
> On Saturday 30 May 2009 13:34:12 Felipe Sateler wrote:
> > Attached is a patch that gets the number of parallel jobs, and adds
> > support for parallel building in the makefile, autotools, qmake,
> > permodule and cmake classes.
> The problem I see is that probably for a very significant number of
> packages, parallel make won't work, meaning the upstream build system isn't
> robust enough to support it. So we can't turn this on by default, or we
> will break potentially hundreds of packages.
> Policy says that the package maintainer should decide whether applying
> parallel builds is safe and appropriate for a given package. So the best
> we could do, I think, is to add some code for parsing DEB_BUILD_OPTIONS,
> and make the user set a variable to enable parallelism, such as
> DEB_BUILD_PARALLEL = yes
Ehm, my patch does just that. You have to set DEB_ENABLE_PARALLEL_BUILD to
actually enable it. The name is changeable, of course.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: This is a digitally signed message part.
More information about the Build-common-hackers