From: Michael Adam Date: Thu, 13 Oct 2011 12:18:06 +0000 (+0200) Subject: autobuild: add a samba3-ctdb target that compiles samba with cluster support X-Git-Url: http://git.samba.org/?p=obnox%2Fsamba%2Fsamba-obnox.git;a=commitdiff_plain;h=37548acee73e3461cf774c2ddd4a2f838eb085c8 autobuild: add a samba3-ctdb target that compiles samba with cluster support --- diff --git a/script/autobuild.py b/script/autobuild.py index e39367578cf..0cac9167947 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -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"),