WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] hg ignore libxl lex/yacc detritus

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] hg ignore libxl lex/yacc detritus
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 21 Jul 2010 17:59:50 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>, Stefano
Delivery-date: Wed, 21 Jul 2010 10:01:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <84053479-8cc4-497e-a70a-f4b3cf4b190b@default>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acso8+VWjMh3gcZIS+qXhfkicTat6AAAjw0z
Thread-topic: [Xen-devel] [PATCH] hg ignore libxl lex/yacc detritus
User-agent: Microsoft-Entourage/12.24.0.100205
On 21/07/2010 17:42, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

>> They should be regenerated if the corresponding input files
>> (libxlu_cfg.l and libxlu_cfg.y) have changed.  I think make will avoid
>> rebuilding them if they haven't.  So the make lines shouldn't be
>> commented out.
> 
> Hmmm... that means they get regenerated when an "hg update"
> is done that updates the input files, resulting in the
> files being found by hg diff, which appears to be
> what prompted my .hgignore patch.

Yes, tbh I'm not sure we can really rely on the mtimes of the input files
and the checked-in generated output files being correctly ordered in a fresh
checkout of our repository. I had to comment out the rules to generate our
virtual ACPI tables in tools/firmware/hvmloader/acpi when I used to have the
output of the ACPI compiler checked in (I've got rid of that now).


So, really, it may be we either need to remove the checked-in generated
files, or comment out the rules that build those generated files. Because we
can't rely on the file modification times being 'right' in a fresh checkout.

 -- Keir
 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel