diff options
author | Bob Wilson <bob.wilson@apple.com> | 2012-08-10 00:25:30 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2012-08-10 00:25:30 +0000 |
commit | f9fb079e7dad1f5725ea42e8865f5c12c48223c2 (patch) | |
tree | eee3ed69ae8a478bbc0fc4b72e53cab9d23946bd | |
parent | d9b66506a3779cd4237d740ca19a4a8d2344f6d6 (diff) | |
download | bcm5719-llvm-f9fb079e7dad1f5725ea42e8865f5c12c48223c2.tar.gz bcm5719-llvm-f9fb079e7dad1f5725ea42e8865f5c12c48223c2.zip |
Use the final .version number for LLVM_MINOR_VERSION in Apple llvmCore builds.
We've switched to a 3-component version numbering scheme for Apple releases,
and with this scheme, the final number is the one most relevant for setting
LLVM_MINOR_VERSION. <rdar://problem/12071459>
llvm-svn: 161645
-rwxr-xr-x | llvm/utils/buildit/build_llvm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/buildit/build_llvm b/llvm/utils/buildit/build_llvm index 994fb0696ee..6aee8310463 100755 --- a/llvm/utils/buildit/build_llvm +++ b/llvm/utils/buildit/build_llvm @@ -133,7 +133,7 @@ if [ \! -f Makefile.config ]; then || exit 1 fi -SUBVERSION=`echo $RC_ProjectSourceVersion | sed -e 's/[^.]*\.\([0-9]*\).*/\1/'` +SUBVERSION=`echo $RC_ProjectSourceVersion | sed -e 's/.*\.\([0-9]*\).*/\1/'` if [ "x$SUBVERSION" != "x$RC_ProjectSourceVersion" ]; then LLVM_SUBMIT_SUBVERSION=`printf "%02d" $SUBVERSION` |