Kari Pahula wrote:
> 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) {}

I think this should only be done if DEB_BUILD_OPTIONS has parallel=N,
and should limit dpkg-deb processes to the N. If someone sends a patch
doing that, I'll apply it.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to