Package: debhelper Version: 7.9.3 Severity: wishlist It'd be useful to have dh_builddeb have support for building debs in parallel. As a case, the ghc6 6.12.3 package I'm working on now has debs sized 4M, 8M, 16M, 32M and 43M. After building it all I'm fairly sure to have it all in memory and the CPU is the bottleneck, running gzip on all that data. I'd love to pass some of that to the second core.
I did some tests on this, making a rather trivial change to dh_builddeb's foreach loop, like this: my $processes = 0; foreach ... { my $pid = fork(); if ($pid == 0) { ... exit 0; } else { if (++$processes > 1) { wait; --$processes; } } } while (wait != -1) {} Here's time dh_builddeb with the current version: real 4m0.960s user 3m56.903s sys 0m2.636s And here's what I got with this (some noise in there but you get the idea): real 2m21.527s user 3m54.475s sys 0m2.536s -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org