[LLVMdev] Including svn version number in --version output

Devang Patel dpatel at apple.com
Thu Jul 10 10:29:44 PDT 2008


On Jul 10, 2008, at 1:18 AM, Matthijs Kooijman wrote:

>> I suppose to be annoyingly pedantic about it you could require a
>> network connection for the build, check svn info and svn status and
>> then set the version string based on whether or not there are local
>> patches applied to the checkout - but that would probably fall under
>> neurotic :)
> Using svnversion (as the original patch does) does exactly this. It  
> outputs
> the rev number, postfixed with "M" (for Modified) when there are local
> changes.


Yup.
-
Devang






More information about the llvm-dev mailing list