Hello,

On trečiadienis 02 Gruodis 2009 01:11:18 Modestas Vainius wrote:
> What about just --parallel (the name used in parallel branch) as an alias
>  to --max-parallel and allowing optional arg? I know you don't like aliases
>  but... in documentation, it could something among the lines of:
> 
> --parallel
> 
> Allow building in parallel. No limit on the number of maximum concurrent
> processes is imposed.
> 
> --max-parallel=N.
> 
> Allow building in parallel. Number of maximum concurrent process is limited
>  to N. If N is 1, parallel building is disallowed.

In other words from debhelper user perspective, the primary option should be 
to turn parallel on (i.e. enable parsing of DEB_BUILD_OPTIONS=parallel=n and 
acting on it appropriately without further limitations). I'm proposing
--parallel for this. Negation could be a standard --noparallel if there is a 
need for it.

Maximum concurrent jobs limitation is only a secondary option which will 
probably be rarely used (but is needed to have a complete interface). So
--max-parallel=N could be used for that (and it would imply --parallel if N!=1 
to keep things short).


-- 
Modestas Vainius <modes...@vainius.eu>

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to