diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-05 20:35:00 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-05 21:19:54 +0000 |
commit | cbc8e0b7ea70c0e118b51ac479a08eb95a9779ca (patch) | |
tree | 5be55d5e84897fa2ee125ac4a79ad0b9ef1f5956 /etc | |
parent | 1156ecbcde96c6189eac17d8c4bf953b4528ed36 (diff) | |
download | midipix_build-cbc8e0b7ea70c0e118b51ac479a08eb95a9779ca.tar.bz2 midipix_build-cbc8e0b7ea70c0e118b51ac479a08eb95a9779ca.tar.xz |
etc/build.usage: adds -P [jobs].
subr/build_args.subr: adds `optarg' arg type & ARG_PARALLEL:optarg:-P:auto.
subr/build_init.subr: default ${ARG_PARALLEL} ([jobs]) to ${DEFAULT_BUILD_CPUS}.
subr/ex_pkg_dispatch.subr: honour ${ARG_PARALLEL}, defaulting to no parallelisation.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/build.usage | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/etc/build.usage b/etc/build.usage index e28a5b6e..3267d2a1 100644 --- a/etc/build.usage +++ b/etc/build.usage @@ -1,15 +1,19 @@ -usage: ./build.sh [-4|6] [-a nt32|nt64] [-b debug|release] - [-c] [-h] [-N] [-r ALL[:step,..]] [-r name[,..][:step,..]] - [-R] [-t[.gz|.bz2|.xz] [-v[v[v]]] [-x] [<target>[ ..]] +usage: ./build.sh [-4|6] [-a nt32|nt64] [-b debug|release] + [-c] [-h] [-N] [-P [jobs]] [-r ALL[:step,..]] + [-r name[,..][:step,..]] [-R] [-t[.gz|.bz2|.xz] + [-v[v[v]]] [-x] [<target>[ ..]] -4|-6 Force IPv[46] when downloading files. -a nt32|nt64 Selects 32-bit or 64-bit architecture; defaults to nt64. -b debug|release Selects debug or release build; defaults to debug. -c Clean ${PREFIX} before processing build scripts. -h Show this screen. -N Offline mode: no {wget,git-{clone,pull}}(1) calls. + -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. -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). + completely or at optionally specified comma-separated step(s). Currently defined steps are: fetch_wget, fetch_git, fetch_extract, configure_patch_pre, configure_autotools, configure_patch, |