llvm.org GIT mirror llvm / 6335e41
Remove old code to strip out unwanted PPC slices for Apple llvmCore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154706 91177308-0d34-0410-b5e6-96231b3b80d8 Bob Wilson 7 years ago
1 changed file(s) with 0 addition(s) and 13 deletion(s). Raw diff Collapse all Expand all
227227 cd $DEST_DIR$DEST_ROOT
228228 rm -f bin/.dir etc/llvm/.dir lib/.dir
229229
230 # Remove PPC64 fat slices.
231 cd $DEST_DIR$DEST_ROOT/bin
232 if [ $MACOSX_DEPLOYMENT_TARGET = "10.4" ]; then
233 find . -perm 755 -type f \! \( -name '*gccas' -o -name '*gccld' -o -name llvm-config \) \
234 -exec lipo -extract ppc -extract i386 {} -output {} \;
235 elif [ $MACOSX_DEPLOYMENT_TARGET = "10.5" ]; then
236 find . -perm 755 -type f \! \( -name '*gccas' -o -name '*gccld' -o -name llvm-config \) \
237 -exec lipo -extract ppc7400 -extract i386 {} -output {} \;
238 else
239 find . -perm 755 -type f \! \( -name '*gccas' -o -name '*gccld' -o -name llvm-config \) \
240 -exec lipo -extract i386 -extract x86_64 {} -output {} \;
241 fi
242
243230 # The Hello dylib is an example of how to build a pass.
244231 # The BugpointPasses module is only used to test bugpoint.
245232 # These unversioned dylibs cause verification failures, so do not install them.