[llvm-commits] [llvm] r53484 - /llvm/trunk/utils/buildit/build_llvm
Bill Wendling
isanbard at gmail.com
Fri Jul 11 15:42:11 PDT 2008
Author: void
Date: Fri Jul 11 17:42:10 2008
New Revision: 53484
URL: http://llvm.org/viewvc/llvm-project?rev=53484&view=rev
Log:
Porting r53478 into mainline:
Update to build_llvm. Don't output a floating point number for the version.
Modified:
llvm/trunk/utils/buildit/build_llvm
Modified: llvm/trunk/utils/buildit/build_llvm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/buildit/build_llvm?rev=53484&r1=53483&r2=53484&view=diff
==============================================================================
--- llvm/trunk/utils/buildit/build_llvm (original)
+++ llvm/trunk/utils/buildit/build_llvm Fri Jul 11 17:42:10 2008
@@ -89,6 +89,14 @@
|| exit 1
fi
+SUBVERSION=`echo $RC_ProjectSourceVersion | sed -e 's/.*\.//'`
+
+if [ "x$SUBVERSION" != "x$RC_ProjectSourceVersion" ]; then
+ LLVM_SUBMIT_SUBVERSION=`printf "%02d" $SUBVERSION`
+ RC_ProjectSourceVersion=`echo $RC_ProjectSourceVersion | sed -e 's/\..*//'`
+ LLVM_SUBMIT_VERSION=$RC_ProjectSourceVersion
+fi
+
if [ "x$LLVM_SUBMIT_SUBVERSION" = "x00" -o "x$LLVM_SUBMIT_SUBVERSION" = "x0" ]; then
LLVM_VERSION="$LLVM_SUBMIT_VERSION"
else
More information about the llvm-commits
mailing list