Daniel Leidert wrote:
> There are currently several issues with how debhelper handles parallel builds.
> 
> (1) It is impossible to set DH_OPTIONS=--parallel as environment variable or 
> at
>     the top of debian/rules. All debhelper commands return an error with this.

It's a warning, not an error.

> Do we really need to write `--parallel' everywere in a debian/rules
> file? I have several packages using dh 7 overriding some commands.

'dh $@ --parallel' will cause the option to be passed into commands
run in override targets, without warnings either.

> (2) This is really annoying: Using `MAKEFLAGS=-j2 debuild' on e.g. this rules
>     file, does still set `make -j1':
> 
>     %:
>       dh --with quilt --parallel $@
> 
>     JFTR: debuild -j2 works. When I explicitly set --parallel, then I expect,
>     that you don't touch my given MAKEFLAGS.

MAKEFLAGS has to be sanitized to avoid the problems documented
in bug #532805.

I think it would probably be ok if debhelper stopped cleaning -j
from MAKEFLAGS in the --parallel case (not the --max-parallel=n
or default cases).

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to