mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 06:04:47 +00:00
Porting r53478 into mainline:
Update to build_llvm. Don't output a floating point number for the version. llvm-svn: 53484
This commit is contained in:
parent
b21183f645
commit
688b78adf1
@ -89,6 +89,14 @@ if [ \! -f Makefile.config ]; then
|
||||
|| 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user