[CRIU] [RFC] Start using yoda generator

James Bottomley jbottomley at parallels.com
Fri Jun 7 02:02:50 EDT 2013


On Tue, 2013-06-04 at 00:21 +0400, Andrew Vagin wrote:
> On Tue, Jun 04, 2013 at 12:10:53AM +0400, Cyrill Gorcunov wrote:
> > On Tue, Jun 04, 2013 at 12:05:08AM +0400, Andrew Vagin wrote:
> > > On Mon, Jun 03, 2013 at 11:49:16PM +0400, Cyrill Gorcunov wrote:
> > > > On Mon, Jun 03, 2013 at 11:42:48PM +0400, Andrew Vagin wrote:
> > > > > > 
> > > > > > OK. But don't include yoda in crtools. Just leave the existing parser
> > > > > > under proper ifdef.
> > > > > 
> > > > > Why do you not want to commit yoda generated files?
> > > > 
> > > > Because they are auto-generated. It's a part of builder and should not
> > > > be commited.
> > > 
> > > Are you sure? ;) I think it may be better than "proper ifdef".
> > 
> > Andrew, letme clarify, maybe I misunderstand you -- you propose to
> > commit yoda generated .ch files into repo?
> 
> Yes, you understand me

The paradigm we use for this in the kernel is .[ch]_shipped.  The
_shipped extensions are parser or other generated files which could be
regenerated with the right build options (and tools) but which are
committed to the tree to avoid people having to have the esoteric tools
which actually build them.

James




More information about the CRIU mailing list