From 1e46ae47b1dfe2d8f59da9cac9cedb52390c50fe Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 5 Feb 2007 23:18:58 +0000 Subject: [PATCH] Add a show-footprint target to run du a few times to show how much disk 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 602898c82f7..8f16ce2e7b3 100644 --- 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 -- 2.34.1