summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-11 15:32:36 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-11 15:52:25 +0200
commit3c4eb2cab68d4b60888dfb557734cdfaeef50b4c (patch)
tree8903e81c89f7e3db2102908428de0c7cb88fdbfc /script
parent67600117610eda2bd7ad2802bcc7a9147720e659 (diff)
downloadsamba-3c4eb2cab68d4b60888dfb557734cdfaeef50b4c.tar.gz
samba-3c4eb2cab68d4b60888dfb557734cdfaeef50b4c.tar.bz2
samba-3c4eb2cab68d4b60888dfb557734cdfaeef50b4c.zip
script/autobuild.py: split 'samba3' 'make -j 4 everything' into multiple steps
Calling 'waf configure' while compiling .c files makes it very hard to find compile errors. We do 'make -j 4 bin/smbtorture4' before 'make -j 4 everything'. metze
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 9945c66cb6..abca8e80c0 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -34,7 +34,11 @@ tasks = {
"samba3" : [ ("autogen", "./autogen.sh", "text/plain"),
("configure", "./configure.developer ${PREFIX}", "text/plain"),
("make basics", "make basics", "text/plain"),
- ("make", "make -j 4 everything", "text/plain"), # don't use too many processes
+ # we split 'make -j 4', 'make bin/smbtorture4' and 'make -j 4 everything'
+ # because it makes it much easier to find errors.
+ ("make", "make -j 4", "text/plain"), # don't use too many processes
+ ("make bin/smbtorture4", "make -j 4 bin/smbtorture4", "text/plain"),
+ ("make everything", "make -j 4 everything", "text/plain"),
("install", "make install", "text/plain"),
("test", "TDB_NO_FSYNC=1 make test FAIL_IMMEDIATELY=1", "text/plain"),
("check-clean-tree", "../script/clean-source-tree.sh", "text/plain"),