[LLVMdev] [PATCH] llvm-config: add svn revision to --version

Frits van Bommel fvbommel at wxs.nl
Mon May 18 15:04:06 PDT 2009


Benjamin Kramer wrote:
> Óscar Fuentes wrote:
>> And this brings another question: how do you deal with modified  
>> working
>> copies?
> 
> We could add a M or "dirty" to the revision number. But I don't know  
> how this would affect things like "if (revision >= 12345)".

It should be easy enough to sed out.



More information about the llvm-dev mailing list