From 30ae149529f8ce02bee49c0706d67e677e44f24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Fri, 22 Dec 2017 18:40:49 +0000 Subject: build.sh:fail_pkg: terminate pending builds given build failure, -P, and absence of -R. etc/build.usage: clarify the consequences of parallelising builds to guide the perplexed and to confuse the people of the tribe of certainty into enlightenment (or not?) subr/ex_pkg_dispatch.subr:exp_pkg_dispatch(): moved traps. subr/ex_pkg_exec.subr:ex_pkg_exec(): forcibly pkill(1) child processes on failure. --- etc/build.usage | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') diff --git a/etc/build.usage b/etc/build.usage index d3144847..c9a0466f 100644 --- a/etc/build.usage +++ b/etc/build.usage @@ -15,6 +15,8 @@ usage: ./build.sh [-4|6] [-a nt32|nt64] [-b debug|release] -P [jobs] Enables parallelisation at target-level, whenever applicable. The maximum count of jobs defaults to the number of logical processors on the host system. + If -R is not specified and at least one (1) package fails to build, + all remaining package builds will be forcibly aborted for convenience. -r ALL[:step,..] -r name[,..][:step,..] Restart the all packages/the specified comma-separated package(s) completely or at optionally specified comma-separated step(s). -- cgit v1.2.3