search for: versuffix

Displaying 11 results from an estimated 11 matches for "versuffix".

Did you mean: strsuffix
2008 Jul 10
1
[LLVMdev] Including svn version number in --version output
...========================== --- 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;
2008 Jul 10
2
[LLVMdev] Including svn version number in --version output
On Jul 9, 2008, at 8:47 PM, Tanya Lattner wrote: > > On Jul 9, 2008, at 6:13 PM, Devang Patel wrote: > >> >> On Jul 9, 2008, at 6:13 PM, Tanya M. Lattner wrote: >> >>> >>> Why not set the VERSUFFIX to be " (Based on Apple Inc. build 5555) >>> (LLVM >>> rXXXX)" >>> >>> Where you set the revision number? >> >> I do not want to set the revision number in a source file every >> time I >> do 'svn update' :) >> &g...
2008 Jul 10
2
[LLVMdev] Including svn version number in --version output
On Wednesday 09 July 2008 20:13, Tanya M. Lattner wrote: > Why not set the VERSUFFIX to be " (Based on Apple Inc. build 5555) (LLVM > rXXXX)" Not everyone is at Apple. :) -Dave
2008 Jul 10
0
[LLVMdev] Including svn version number in --version output
...I do not want to reuse build number. I didn't say to force people to use svn update. I'm suggesting to use the svn revision number (via svnversion) as the build number. So that exactly as you are doing in your patch to Makefile.in, but I'm saying to use that svnversion number in the VERSUFFIX. > Let's take example of checker build Ted produces on cfe-dev list. He > regularly announces checker builds at http://clang.llvm.org/StaticAnalysis.html > . The last one is checker-59 and it is not checker-(svn-revision- > number). The build number, 59 in this example, is useful f...
2008 Jul 10
0
[LLVMdev] Including svn version number in --version output
Why not set the VERSUFFIX to be " (Based on Apple Inc. build 5555) (LLVM rXXXX)" Where you set the revision number? We currently use LLVM_VERSION_INFO to set this sort of information and to me it makes more sense to have the svn rev number there instead of just saying LLVM build like it does now. -Tanya On...
2008 Jul 10
4
[LLVMdev] Including svn version number in --version output
On Jul 9, 2008, at 6:13 PM, Tanya M. Lattner wrote: > > Why not set the VERSUFFIX to be " (Based on Apple Inc. build 5555) > (LLVM > rXXXX)" > > Where you set the revision number? I do not want to set the revision number in a source file every time I do 'svn update' :) > We currently use LLVM_VERSION_INFO to set this sort of information &...
2008 Jul 10
4
[LLVMdev] Including svn version number in --version output
It is very useful to have svn version number encoded in llvm-gcc's -- version output. Here is one approach. Anyone has a better patch ? - Devang Index: Makefile.in =================================================================== --- Makefile.in (revision 53385) +++ Makefile.in (working copy) @@ -802,6 +802,9 @@ DEVPHASE_s := "\"$(if $(DEVPHASE_c),
2008 Jul 10
0
[LLVMdev] Including svn version number in --version output
On Jul 9, 2008, at 7:16 PM, David Greene wrote: > On Wednesday 09 July 2008 20:13, Tanya M. Lattner wrote: >> Why not set the VERSUFFIX to be " (Based on Apple Inc. build 5555) >> (LLVM >> rXXXX)" > > Not everyone is at Apple. :) > What is your point? You can always set LLVM_VERSION_INFO to be whatever you want. I'm talking about the case where it isn't set. And llvm-gcc is based on Ap...
2008 Jul 10
0
[LLVMdev] Including svn version number in --version output
On Jul 9, 2008, at 6:13 PM, Devang Patel wrote: > > On Jul 9, 2008, at 6:13 PM, Tanya M. Lattner wrote: > >> >> Why not set the VERSUFFIX to be " (Based on Apple Inc. build 5555) >> (LLVM >> rXXXX)" >> >> Where you set the revision number? > > I do not want to set the revision number in a source file every time I > do 'svn update' :) > Ok, so I'm confused. Don't you want...
2008 Jul 10
0
[LLVMdev] Including svn version number in --version output
gcc does this with contrib/gcc_update which updates the file every update: revision=`svn info | awk '/Revision:/ { print $2 }'` branch=`svn info | sed -ne "/URL:/ { s,.*/trunk,trunk, s,.*/branches/,, s,.*/tags/,, p }"` where you now have revision and branch information. -eric
2008 Jul 10
2
[LLVMdev] Including svn version number in --version output
...u now have revision and branch information. We don't want another commit after every other commit. This should be set by the makefile when a build is done. On Jul 9, 2008, at 7:16 PM, David Greene wrote: > On Wednesday 09 July 2008 20:13, Tanya M. Lattner wrote: >> Why not set the VERSUFFIX to be " (Based on Apple Inc. build 5555) >> (LLVM >> rXXXX)" > > Not everyone is at Apple. :) I don't see what that has to do with anything here. Have you build llvm-gcc lately? It says that for every build - it *is* based on apple gcc. -Chris