install new lto dylib. pass down LLVM_SUBMIT_VERSION

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47763 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Kledzik 2008-02-29 19:32:13 +00:00
parent 1f008a88f9
commit 02e4e173bf

View File

@ -92,6 +92,8 @@ fi
# don't want to make the builders hit swap by firing off too many gcc's at the
# same time.
make $OPTIMIZE_OPTS UNIVERSAL=1 UNIVERSAL_ARCH="$TARGETS" \
LLVM_SUBMIT_VERSION=$LLVM_SUBMIT_VERSION \
LLVM_SUBMIT_SUBVERSION=$LLVM_SUBMIT_SUBVERSION \
CXXFLAGS="-DLLVM_VERSION_INFO='\" Apple Build #$LLVM_VERSION\"'"
if ! test $? == 0 ; then
@ -164,9 +166,10 @@ LTO_HOME=$DEST_DIR/$DEVELOPER_DIR/usr
fi
mkdir -p $LTO_HOME/lib
mv lib/LLVMlto* $LTO_HOME/lib/.
mkdir -p $LTO_HOME/include/llvm
mv $DEST_DIR/usr/local/include/llvm/LinkTimeOptimizer.h $LTO_HOME/include/llvm/.
mv lib/libLTO.dylib $LTO_HOME/lib/libLTO.dylib
rm -f lib/libLTO.a lib/libLTO.la
################################################################################
# Create SYM_DIR with information required for debugging.