llvm.org GIT mirror llvm / 02e4e17
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 Nick Kledzik 11 years ago
1 changed file(s) with 6 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
9191 # don't want to make the builders hit swap by firing off too many gcc's at the
9292 # same time.
9393 make $OPTIMIZE_OPTS UNIVERSAL=1 UNIVERSAL_ARCH="$TARGETS" \
94 LLVM_SUBMIT_VERSION=$LLVM_SUBMIT_VERSION \
95 LLVM_SUBMIT_SUBVERSION=$LLVM_SUBMIT_SUBVERSION \
9496 CXXFLAGS="-DLLVM_VERSION_INFO='\" Apple Build #$LLVM_VERSION\"'"
9597
9698 if ! test $? == 0 ; then
163165 fi
164166
165167 mkdir -p $LTO_HOME/lib
166 mv lib/LLVMlto* $LTO_HOME/lib/.
167 mkdir -p $LTO_HOME/include/llvm
168 mv $DEST_DIR/usr/local/include/llvm/LinkTimeOptimizer.h $LTO_HOME/include/llvm/.
168 mv lib/libLTO.dylib $LTO_HOME/lib/libLTO.dylib
169 rm -f lib/libLTO.a lib/libLTO.la
170
171
169172
170173 ################################################################################
171174 # Create SYM_DIR with information required for debugging.