autobuild: add a samba3-ctdb target that compiles samba with cluster support
authorMichael Adam <obnox@samba.org>
Thu, 13 Oct 2011 12:18:06 +0000 (14:18 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 26 Sep 2013 00:01:51 +0000 (02:01 +0200)
script/autobuild.py

index e39367578cfd9412a337816fa352f03a4a4c46dd..0cac91679479a5e1810faa55a66197bbefecc46f 100755 (executable)
@@ -16,6 +16,7 @@ cleanup_list = []
 
 builddirs = {
     "ctdb"    : "ctdb",
+    "samba3-ctdb" : ".",
     "samba3"  : "source3",
     "samba4"  : ".",
     "ldb"     : "lib/ldb",
@@ -38,6 +39,22 @@ tasks = {
                ("install", "make install", "text/plain"),
                ("clean", "make clean", "text/plain") ],
 
+    "samba3-ctdb" : [ ("ctdb-autogen", "cd ./ctdb && ./autogen.sh", "text/plain"),
+                      ("ctdb-configure", "cd ./ctdb && ./configure ${PREFIX}/ctdb --enable-socket-wrapper", "text/plain"),
+                      ("ctdb-make", "cd ./ctdb && make all", "text/plain"),
+                      ("ctdb-install", "cd ./ctdb && make install", "text/plain"),
+                      ("samba3-autogen", "cd ./source3 && ./autogen.sh" , "text/plain"),
+                      ("samba3-configure", "cd ./source3 && ./configure.developer ${PREFIX}/source3 --with-cluster-support --with-ctdb=${PREFIX_DIR}/ctdb", "text/plain"),
+                      ("samba3-make-basics", "cd ./source3 && make basics", "text/plain"),
+                      ("samba3-make", "cd ./source3 && make -j 4", "text/plain"),
+                      ("samba3-make bin/smbtorture4", "cd ./source3 && make -j 4 bin/smbtorture4", "text/plain"),
+                      ("samba3-make everything", "cd ./source3 && make -j 4 everything", "text/plain"),
+                      ("samba3-install", "cd ./source3 && make install", "text/plain"),
+                      ("test", "cd ./source3 && TDB_NO_FSYNC=1 make test FAIL_IMMEDIATELY=1", "text/plain"),
+                      ("check-clean-tree", "./script/clean-source-tree.sh", "text/plain"),
+                      ("source3-clean", "cd ./source3 && make clean", "text/plain"),
+                      ("clean-ctdb", "cd ./ctdb && make clean", "text/plain") ],
+
     "samba3" : [ ("autogen", "./autogen.sh", "text/plain"),
                  ("configure", "./configure.developer ${PREFIX}", "text/plain"),
                  ("make basics", "make basics", "text/plain"),