summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-11-30 23:27:57 +0000
committerDevang Patel <dpatel@apple.com>2007-11-30 23:27:57 +0000
commit0a45fa9348638836de8f4c1e51465834b94023d1 (patch)
tree7316136f7f6f461f6a8b971c9a2f014d24a93d41 /utils
parentf64903b7d87d9bdb8300205674d754d6bf207eb7 (diff)
downloadllvm-0a45fa9348638836de8f4c1e51465834b94023d1.tar.gz
llvm-0a45fa9348638836de8f4c1e51465834b94023d1.tar.bz2
llvm-0a45fa9348638836de8f4c1e51465834b94023d1.tar.xz
Change lib lto install location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/buildit/build_llvm9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 56d8fc82be..5e03e8d9c2 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -166,6 +166,15 @@ fi
cd $DEST_DIR$DEST_ROOT
lipo -extract ppc -extract i386 lib/LLVMlto.0.0.0.so -output lib/LLVMlto.0.0.0.so
+# LTO is part of developer tools
+LTO_HOME=$DEST_DIR//Developer/usr/lib
+if [ "x$DEVELOPER_BIN" != "x" ]; then
+LTO_HOME=$DEST_DIR/$DEVELOPER_DIR/usr/lib
+fi
+
+mkdir -p $LTO_HOME
+mv lib/LLVMlto* $LTO_HOME/.
+
################################################################################
# Create SYM_DIR with information required for debugging.