Add a show-footprint target to run du a few times to show how much disk
authorReid Spencer <rspencer@reidspencer.com>
Mon, 5 Feb 2007 23:18:58 +0000 (23:18 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 5 Feb 2007 23:18:58 +0000 (23:18 +0000)
space a build tree's objects are consuming.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33934 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index 602898c82f772a3bcf0c95076effb7c544311de1..8f16ce2e7b330bc94cee2c336298ce7cfde5c9fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -110,4 +110,10 @@ srpm: $(LLVM_OBJ_ROOT)/llvm.spec
 rpm: $(LLVM_OBJ_ROOT)/llvm.spec 
        rpmbuild -bb --target $(TARGET_TRIPLE) $(LLVM_OBJ_ROOT)/llvm.spec
 
+show-footprint:
+       $(Verb) du -sk $(LibDir)
+       $(Verb) du -sk $(ToolDir)
+       $(Verb) du -sk $(ExmplDir)
+       $(Verb) du -sk $(ObjDir)
+
 .PHONY: srpm rpm