aboutsummaryrefslogtreecommitdiff
path: root/build.sh.in
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-02-04 21:10:33 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-02-08 14:41:11 +0300
commita138095ed7d04958f6752c67d84bbf96c3475b6a (patch)
tree027f14a697c1b3b8e62300a12f961c165356728f /build.sh.in
parent0b3ef7b3c197b77627c67b12b6324a1a2923e865 (diff)
Add --jobs|-j option to build batch files
Diffstat (limited to 'build.sh.in')
-rw-r--r--build.sh.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/build.sh.in b/build.sh.in
index 0c48831..7368c77 100644
--- a/build.sh.in
+++ b/build.sh.in
@@ -482,8 +482,8 @@ $private
done
if test -n "$projects"; then
- run b install: $projects
- run b noop: $tests
+ run b $verbose $jobs install: $projects
+ run b $verbose noop: $tests
fi
diag
@@ -563,14 +563,14 @@ for m in $module_list; do
done
if test -n "$packages"; then
- run bpkg build --for install $packages
- run bpkg install --all-pattern=libbuild2-*
+ run bpkg $verbose $jobs $bpkg_build_ops build --for install $packages
+ run bpkg $verbose $jobs install --all-pattern=libbuild2-*
fi
run cd "$owd"
if test -n "$tests"; then
- run b noop: $tests
+ run b $verbose noop: $tests
fi
# Clean up stage.