mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
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! llvm-svn: 47716
This commit is contained in:
parent
596fb7b39f
commit
dd987bc788
14
Makefile
14
Makefile
@ -142,7 +142,19 @@ build-for-llvm-top:
|
||||
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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user