summaryrefslogtreecommitdiff
path: root/morphlib/app.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2013-01-29 16:21:59 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-01-29 16:26:38 +0000
commit80212317e1375829db3e2bb467273518c573de7f (patch)
tree7dbf0be5b6943e9511668b6bb1a029f5f6dccdbe /morphlib/app.py
parent63f608d7c05095c16d1a8863b13c55634c0cae8b (diff)
downloadmorph-80212317e1375829db3e2bb467273518c573de7f.tar.gz
Disable distcc by default
Current versions of build-essential in the Baserock morphologies don't contain distcc, but Morph tries to use distcc anyway. Since useful operation of distcc requires setting up a distcc network, there's no reason for it to be on by default. This change fixes bootstrap, and means that users of the build-essential staging filler no longer have to set no-distcc=true manually. In the future, cliapp will grow automatic boolean negation, which will allow us to turn this setting into a 'distcc' setting that defaults to false rather than the current rather ugly double negative.
Diffstat (limited to 'morphlib/app.py')
-rwxr-xr-xmorphlib/app.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index 9239bf31..be85e086 100755
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -124,8 +124,9 @@ class Morph(cliapp.Application):
group=group_build)
self.settings.boolean(['no-ccache'], 'do not use ccache',
group=group_build)
- self.settings.boolean(['no-distcc'], 'do not use distcc',
- group=group_build)
+ self.settings.boolean(['no-distcc'],
+ 'do not use distcc (default: true)',
+ group=group_build, default=True)
self.settings.string(['prefix'],
'build chunks with prefix PREFIX',
metavar='PREFIX', default=defaults['prefix'],