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

Tanya M. Lattner tonic at nondot.org
Thu Jul 10 13:00:42 PDT 2008


Ok. Sounds fine. :)

-Tanya

On Thu, 10 Jul 2008, Devang Patel wrote:

>
> On Jul 10, 2008, at 11:17 AM, Tanya M. Lattner wrote:
>
>>
>> Where exactly are you suggesting to put the svnversion number in the
>> version string then?
>
> I forgot to include version.c change. Right now, I just append
> svnversion number at the end.
> -
> Devang
>
>
> Index: version.c
> ===================================================================
> --- version.c	(revision 53385)
> +++ version.c	(working copy)
> @@ -33,4 +33,4 @@
>  /* The complete version string, assembled from several pieces.
>     BASEVER, DATESTAMP, and DEVPHASE are defined by the Makefile.  */
>
> -const char version_string[] = BASEVER DATESTAMP DEVPHASE VERSUFFIX;
> +const char version_string[] = BASEVER DATESTAMP DEVPHASE VERSUFFIX
> SVNVER;
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



More information about the llvm-dev mailing list