[LLVMdev] Including svn version number in --version output
Devang Patel
dpatel at apple.com
Thu Jul 10 12:37:39 PDT 2008
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;
More information about the llvm-dev
mailing list