From: Ian Jackson Subject: Re: [OSSTEST PATCH 04/13] building: Delete when cloning, not when preparing $builddir Date: Wed, 16 Jul 2014 11:29:45 +0100 Message-ID: <21446.21529.475575.825357@mariner.uk.xensource.com> References: <1405437747-12753-1-git-send-email-ian.jackson@eu.citrix.com> <1405437747-12753-5-git-send-email-ian.jackson@eu.citrix.com> <1405502349.7019.7.camel@kazak.uk.xensource.com> <21446.19665.778768.287305@mariner.uk.xensource.com> <1405505186.7019.45.camel@kazak.uk.xensource.com> <21446.20852.804852.321588@mariner.uk.xensource.com> <1405506031.7019.53.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X7MTA-00082O-Az for xen-devel@lists.xenproject.org; Wed, 16 Jul 2014 10:29:52 +0000 In-Reply-To: <1405506031.7019.53.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH 04/13] building: Delete when cloning, not when preparing $builddir"): > On Wed, 2014-07-16 at 11:18 +0100, Ian Jackson wrote: > > The rumpuserxen xen.git build is done (also, must be done) in a tree > > which has not had any ordinary build done in it. > > OK, then I'm just confused about the purpose of this change ;-) > > I thought you were reusing the build tree. This change is needed because previously prepbuilddirs would delete the whole per-job directory. I will add some text to the commit messages to clarify this: building: Delete when cloning, not when preparing $builddir ... This makes it possible for later steps within a build job to look at the build trees from previous steps. This is helpful if for any reason it isn't easy or desirable to package up a formal set of build outputs for reuse. And rump kernel tests: Do a xen.git tools build ... ts-rumpuserxen-build does not generate a formal set of build outputs. Instead, the ts-xen-build step references the files generated by ts-rumpuserxen-build directly (and is told where to find them via the new command prefix runvars). Ian.