diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-01 14:16:21 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-01 14:16:21 +0000 |
commit | c8e5e422553fec66b223e8f03ebadf96e7a3bdcf (patch) | |
tree | 387d8b7275ff700821a42390eb7f7f115b407913 /morph | |
parent | 2da1a5d505bd4d500746735194fe52758ec617a6 (diff) | |
download | morph-c8e5e422553fec66b223e8f03ebadf96e7a3bdcf.tar.gz |
Add --max-jobs option
Diffstat (limited to 'morph')
-rwxr-xr-x | morph | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -44,6 +44,12 @@ class Morph(cliapp.Application): 'put build results in DIR (default: %default)', metavar='DIR', default='.') self.settings.boolean(['no-ccache'], 'do not use ccache') + self.settings.integer(['max-jobs'], + 'run at most N parallel jobs with make (default ' + 'is to a value based on the number of CPUs ' + 'in the machine running morph', + metavar='N', + default=0) def cmd_build(self, morph_filenames): tempdir = morphlib.tempdir.Tempdir() |