[llvm-commits] [llvm-gcc-4.2] r108752 - /llvm-gcc-4.2/trunk/build_gcc
Bob Wilson
bob.wilson at apple.com
Mon Jul 19 14:31:16 PDT 2010
Author: bwilson
Date: Mon Jul 19 16:31:16 2010
New Revision: 108752
URL: http://llvm.org/viewvc/llvm-project?rev=108752&view=rev
Log:
The llvmCore build now installs only one copy of libLTO.dylib, in the
Developer/usr/lib directory, and that copy is already stripped so there's
no need to strip it again.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/build_gcc?rev=108752&r1=108751&r2=108752&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Mon Jul 19 16:31:16 2010
@@ -768,18 +768,17 @@
# Install libLTO.dylib
if [ "$INSTALL_LIBLTO" == yes ]; then
- LTO=$LLVMCORE_PATH/lib/libLTO.dylib
- if [ ! -r $LTO ]; then
- LTO=$LLVMCORE_PATH/../lib/libLTO.dylib
- if [ ! -r $LTO ]; then
- echo "Error: llvmCore installation is missing libLTO.dylib"
- exit 1
- fi
+ LTO=$LLVMCORE_PATH/../lib/libLTO.dylib
+ if [ ! -r $LTO ]; then
+ echo "Error: llvmCore installation is missing libLTO.dylib"
+ exit 1
fi
mkdir -p $DEST_DIR/Developer/usr/lib
cp $LTO $DEST_DIR/Developer/usr/lib/libLTO.dylib
- strip -S $DEST_DIR/Developer/usr/lib/libLTO.dylib
-
+ # FIXME: The unstripped libLTO.dylib from llvmCore's SYM_DIR should be
+ # copied to the current SYM_DIR. Clang is currently responsible for
+ # installing libLTO.dylib, not llvm-gcc, so it's not worth fixing now.
+
if [ "x$DISABLE_USR_LINKS" == "x" ]; then
# Add a symlink in /usr/lib for B&I.
mkdir -p $DEST_DIR/usr/lib/
More information about the llvm-commits
mailing list