diff options
author | Bob Wilson <bob.wilson@apple.com> | 2012-04-13 22:58:53 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2012-04-13 22:58:53 +0000 |
commit | 6335e41d38ff85c263451c5cd71b2588c5cc74cc (patch) | |
tree | 4510e1e1cc863ed0428e095fbc57e4bb7cb0ef1c | |
parent | 42fc29e7176ff51d649eccf82c836510fde4438f (diff) | |
download | external_llvm-6335e41d38ff85c263451c5cd71b2588c5cc74cc.zip external_llvm-6335e41d38ff85c263451c5cd71b2588c5cc74cc.tar.gz external_llvm-6335e41d38ff85c263451c5cd71b2588c5cc74cc.tar.bz2 |
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
-rwxr-xr-x | utils/buildit/build_llvm | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index 88a26d3..994fb06 100755 --- a/utils/buildit/build_llvm +++ b/utils/buildit/build_llvm @@ -228,19 +228,6 @@ fi cd $DEST_DIR$DEST_ROOT rm -f bin/.dir etc/llvm/.dir lib/.dir -# Remove PPC64 fat slices. -cd $DEST_DIR$DEST_ROOT/bin -if [ $MACOSX_DEPLOYMENT_TARGET = "10.4" ]; then - find . -perm 755 -type f \! \( -name '*gccas' -o -name '*gccld' -o -name llvm-config \) \ - -exec lipo -extract ppc -extract i386 {} -output {} \; -elif [ $MACOSX_DEPLOYMENT_TARGET = "10.5" ]; then - find . -perm 755 -type f \! \( -name '*gccas' -o -name '*gccld' -o -name llvm-config \) \ - -exec lipo -extract ppc7400 -extract i386 {} -output {} \; -else - find . -perm 755 -type f \! \( -name '*gccas' -o -name '*gccld' -o -name llvm-config \) \ - -exec lipo -extract i386 -extract x86_64 {} -output {} \; -fi - # The Hello dylib is an example of how to build a pass. # The BugpointPasses module is only used to test bugpoint. # These unversioned dylibs cause verification failures, so do not install them. |