Craig Small wrote:
> On Thu, May 16, 2013 at 01:12:17PM +0800, Paul Wise wrote:
> > Please add --parallel to the default arguments of dh to encourage people
> > to create packages that allow parallel building by default.
> I could do that, but if this is a good thing, why wouldn't it be better
> that dh did this by default and had a, uh, --single --serial
> --notparallel? flag to turn it off?
> 
> Joey, is this going to be the default for the next major dh release?

Don't plan to. Enabling building in parallel can break many crummy
Makefiles[1]. Some buildds build at -j2 by default[2]; if the maintainer
upgrades and does not test built at -j2, many FTBFS could result.

Makefiles can further only break at particular levels of concurrency
while working at others. Enabling parallel builds by default would thus
invalidate whatever testing has been done of the packages that currently
explicitly enable it. Result: Building arbitrary packages with
DEB_BUILD_OPTIONS=parallel could be much more likely to fail in
arbitrary ways, and the overall value of being able to do it would go
down.

Debhelper already honors DEB_BUILD_OPTIONS=parallel by default where
it's safe to do so, including parallel dpkg-deb --build, and certian
build systems that are more likely than Makefiles to get parallelism
right.

-- 
see shy jo

[1] for example, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532805#114
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532805#134

Attachment: signature.asc
Description: Digital signature

Reply via email to