Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2023-05-05 20:21:38 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-05-20 00:08:13 +0200
commit830dcde2d8353dbcce1e831adb7c7e8f538210a3 (patch)
treeb873975109448eb306b1d0309b3640b55947a644 /doc
parent1da97a8b362addc1cf8b936d918bddfa92192aa6 (diff)
pkgctl build: support worker slots for none tty builds
Allow overriding the worker slot with a dedicated option. Furthermore detect if the current tty is no pts and fall back to choosing a random worker slot between 1 and number of available processing units. Fixes #137 Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/pkgctl-build.1.asciidoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/man/pkgctl-build.1.asciidoc b/doc/man/pkgctl-build.1.asciidoc
index 489926e..f68e7cf 100644
--- a/doc/man/pkgctl-build.1.asciidoc
+++ b/doc/man/pkgctl-build.1.asciidoc
@@ -38,6 +38,12 @@ Build Options
*-I, --install* 'FILE'::
Install a package into the working copy of the chroot
+*-w, --worker* 'SLOT'::
+ Name of the worker slot, useful for concurrent builds. By default the slot
+ is automatically assigned to the current tty pts number. In case the caller
+ is not a tty, choose a random slot between 1 and number of available
+ processing units.
+
*--nocheck*::
Do not run the check() function in the PKGBUILD