[llvm-commits] [llvm-gcc-4.2] r127261 - in /llvm-gcc-4.2/trunk: build_gcc gcc/Makefile.in
Stuart Hastings
stuart at apple.com
Tue Mar 8 11:28:23 PST 2011
Author: stuart
Date: Tue Mar 8 13:28:23 2011
New Revision: 127261
URL: http://llvm.org/viewvc/llvm-project?rev=127261&view=rev
Log:
Stop building PPC parts on OSX. Radar 8637926.
Modified:
llvm-gcc-4.2/trunk/build_gcc
llvm-gcc-4.2/trunk/gcc/Makefile.in
Modified: llvm-gcc-4.2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/build_gcc?rev=127261&r1=127260&r2=127261&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Tue Mar 8 13:28:23 2011
@@ -778,7 +778,8 @@
fi
# Remove lto.h from the install directory; clang will supply.
-find $DEST_DIR -name lto.h -print | xargs rm || exit 1
+# Also remove ppc_intrinsics.h. Note that this breaks PPC support.
+find $DEST_DIR \( -name lto.h -o -name ppc_intrinsics.h \) -delete -print || exit 1
# LLVM LOCAL end
Modified: llvm-gcc-4.2/trunk/gcc/Makefile.in
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/Makefile.in?rev=127261&r1=127260&r2=127261&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/Makefile.in (original)
+++ llvm-gcc-4.2/trunk/gcc/Makefile.in Tue Mar 8 13:28:23 2011
@@ -1181,14 +1181,13 @@
# If in BUILD_LLVM_INTO_A_DYLIB mode, always link in the x86/ppc backends.
# See below for more details.
ifdef BUILD_LLVM_INTO_A_DYLIB
-LLVMTARGETOBJ := $(sort $(LLVMTARGETOBJ) x86 powerpc arm)
+LLVMTARGETOBJ := $(sort $(LLVMTARGETOBJ) x86 arm)
## Target symbols to force linking. This is to ensure that the code generators
## and asm printers actually get linked into libllvmgcc<stage>.dylib.
LLVMTARGETSYMBOLS := \
_LLVMInitializeARMTarget _LLVMInitializeARMAsmPrinter \
- _LLVMInitializePowerPCTarget _LLVMInitializePowerPCAsmPrinter\
_LLVMInitializeX86Target _LLVMInitializeX86AsmPrinter \
endif
More information about the llvm-commits
mailing list