diff --git a/lldb/tools/lldb-perf/common/clang/build-clang.sh b/lldb/tools/lldb-perf/common/clang/build-clang.sh index 5bf804849aeb..3d9add79c4ab 100755 --- a/lldb/tools/lldb-perf/common/clang/build-clang.sh +++ b/lldb/tools/lldb-perf/common/clang/build-clang.sh @@ -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