script/autobuild.py: split 'samba3' 'make -j 4 everything' into multiple steps
authorStefan Metzmacher <metze@samba.org>
Tue, 11 Oct 2011 13:32:36 +0000 (15:32 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 11 Oct 2011 13:52:25 +0000 (15:52 +0200)
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

script/autobuild.py

index 9945c66cb6d6934645ee0596e6e82c5a8fc83136..abca8e80c0bc71ca902c8718a1b789b63c37386e 100755 (executable)
@@ -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"),