Prune more stuff out of the build and source folders after building clang.

llvm-svn: 178112
This commit is contained in:
Greg Clayton 2013-03-27 01:46:51 +00:00
parent c9523d4f44
commit 84912d7e6c
1 changed files with 3 additions and 1 deletions

View File

@ -20,11 +20,13 @@ if [ ! -d "build" ]; then
cd build
../llvm/configure --enable-targets=x86_64,arm --build=x86_64-apple-darwin10 --disable-optimized --disable-assertions --enable-libcpp
make -j8 clang-only DEBUG_SYMBOLS=1
rm -rf lib projects runtime unittests utils
rm -rf lib projects runtime unittests utils config.*
( cd ./Debug/bin ; rm -rf ll* clang-check clang-tblgen count diagtool fpcmp macho-dump not opt yaml2obj FileCheck FileUpdate arcmt-test c-arcmt-test c-index-test bugpoint )
( cd ./tools ; rm -rf ll* clang-check clang-tblgen count diagtool fpcmp lto macho-dump not opt yaml2obj FileCheck FileUpdate arcmt-test c-arcmt-test c-index-test bugpoint )
( cd ./tools/clang ; rm -rf lib unittests utils )
( cd ./tools/clang/tools ; rm -rf arcmt-test c-arcmt-test c-index-test clang-check diagtool libclang )
( cd ../llvm ; rm -rf cmake configure docs examples projects *.txt *.TXT autoconf bindings test unittests utils ; find . -type d -name .svn -print0 | xargs -0 rm -rf )
( cd ../llvm/tools ; rm -rf *.txt bugpoint bugpoint-passes ll* lto macho-dump opt gold )
fi