From b02cb29e726ba44da007dff1c68f02a2c921f474 Mon Sep 17 00:00:00 2001 From: Modestas Vainius Date: Fri, 4 Dec 2009 00:17:06 +0200 Subject: Add --parallel option. This patch adds --parallel option that enables parallel builds and does not impose limits on maximum concurrent processes. --max-parallel (that implies --parallel) can be used to specify that maximum limit. Also make necessary adjustments to debhelper.pod and buildsystem_tests for this option. --- debhelper.pod | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'debhelper.pod') diff --git a/debhelper.pod b/debhelper.pod index 29687ad..19d1d49 100644 --- a/debhelper.pod +++ b/debhelper.pod @@ -217,20 +217,24 @@ If the build system prefers out of source tree building but still allows in source building, the latter can be re-enabled by passing a build directory path that is the same as the source directory path. -=item B<--max-parallel>I<=maximum> - -This option allows controlling how many parallel jobs can be used in a -build, if parallel builds are enabled by the DEB_BUILD_OPTIONS environment -variable. +=item B<--parallel> -If set to 1, parallel builds are disabled -- do this if the package build -is known not to work in parallel. If the package build is known to only -work with certian levels of concurrency, you can set this to the maximum -level that is known to work, or that you wish to support. +Enable support for parallel builds if underlying build system provides this +feature. The number of parallel processes is controlled by the +DEB_BUILD_OPTIONS environment variable (L) at +build time. It might also be subject to the build system specific limit. If this option is not specified, debhelper currently defaults to not supporting parallel package builds. +=item B<--max-parallel>I<=maximum> + +This option implies L<--parallel> and allows to further limit the number of +jobs that can be used in a parallel build. If the package build is known to +only work with certain levels of concurrency, you can set this to the maximum +level that is known to work, or that you wish to support. If set to 1, parallel +builds will be effectively forbidden. + =item B<--list>, B<-l> List all build systems supported by debhelper on this system. The list -- cgit v1.2.1