[Build-common-hackers] Bug#505328: Bug#505328: Add support for parallel builds

Felipe Sateler 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

Ehm, my patch does just that. You have to set DEB_ENABLE_PARALLEL_BUILD to 
actually enable it. The name is changeable, of course.

Felipe Sateler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20090614/1f0fd43f/attachment.pgp>

More information about the Build-common-hackers mailing list