From 80212317e1375829db3e2bb467273518c573de7f Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 29 Jan 2013 16:21:59 +0000 Subject: 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. --- morphlib/app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'morphlib') 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'], -- cgit v1.2.1