[llvm-commits] CVS: llvm/Makefile

Reid Spencer reid at x10sys.com
Mon Feb 5 15:19:17 PST 2007



Changes in directory llvm:

Makefile updated: 1.68 -> 1.69
---
Log message:

Add a show-footprint target to run du a few times to show how much disk
space a build tree's objects are consuming.


---
Diffs of the changes:  (+6 -0)

 Makefile |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/Makefile
diff -u llvm/Makefile:1.68 llvm/Makefile:1.69
--- llvm/Makefile:1.68	Mon Feb  5 03:43:17 2007
+++ llvm/Makefile	Mon Feb  5 17:18:58 2007
@@ -110,4 +110,10 @@
 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






More information about the llvm-commits mailing list