[llvm-commits] [llvm] r47716 - /llvm/trunk/Makefile
Gabor Greif
ggreif at gmail.com
Thu Feb 28 05:06:52 PST 2008
Author: ggreif
Date: Thu Feb 28 07:06:50 2008
New Revision: 47716
URL: http://llvm.org/viewvc/llvm-project?rev=47716&view=rev
Log:
Now that targets are serialized, introduce
two new convenience targets:
- update: svn update toplevel and try hard
to locate updatable subdirectories
using cunning tricks
- happiness: update then build and test
so what one wants to do now is:
nice gmake --jobs happiness
Have fun!
Modified:
llvm/trunk/Makefile
Modified: llvm/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile?rev=47716&r1=47715&r2=47716&view=diff
==============================================================================
--- llvm/trunk/Makefile (original)
+++ llvm/trunk/Makefile Thu Feb 28 07:06:50 2008
@@ -142,7 +142,19 @@
fi
$(Verb) $(MAKE) tools-only
-.PHONY: srpm rpm
+
+
+SVN = svn
+AWK = awk
+SUB-SVN-DIRS = $(AWK) '/\? / {print $$2}' | xargs $(SVN) info 2>/dev/null | grep "Path: " | $(AWK) '{print $$2}'
+
+update:
+ $(SVN) update
+ @ $(SVN) status | $(SUB-SVN-DIRS) | xargs $(SVN) update
+
+happiness: update all check
+
+.PHONY: srpm rpm update happiness
# declare all targets at this level to be serial:
More information about the llvm-commits
mailing list