From a0f601451785686ba45f3be5c7ca9b5cf3b86113 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 20 Jun 2012 14:09:09 +0200 Subject: autobuild: add a target "samba3-ctdb" that builds samba3 (autoconf) with cluster support This is achieved by using the ctdb header files copied in from current ctdb master. Tests are not run. For this we would need to have a full ctdb built and configured. --- script/autobuild.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'script') diff --git a/script/autobuild.py b/script/autobuild.py index ac17d14c53..56b253f65d 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -17,6 +17,7 @@ cleanup_list = [] builddirs = { "samba3" : "source3", + "samba3-ctdb" : "source3", "samba" : ".", "samba-ctdb" : ".", "samba-libs" : ".", @@ -48,6 +49,15 @@ tasks = { ("check-clean-tree", "../script/clean-source-tree.sh", "text/plain"), ("clean", "make clean", "text/plain") ], + "samba3-ctdb" : [ ("random-sleep", "script/random-sleep.sh 60 600", "text/plain"), + ("autogen", "./autogen.sh", "text/plain"), + ("configure", "./configure.developer ${PREFIX} --with-cluster-support --with-ctdb=../ctdb", "text/plain"), + ("make basics", "make basics", "text/plain"), + ("make", "make all", "text/plain"), # don't use too many processes + ("check", "LD_LIBRARY_PATH=./bin ./bin/smbd -b | grep CLUSTER_SUPPORT", "text/plain"), + ("check-clean-tree", "../script/clean-source-tree.sh", "text/plain"), + ("clean", "make clean", "text/plain") ], + # We have 'test' before 'install' because, 'test' should work without 'install' "samba" : [ ("configure", "./configure.developer ${PREFIX} --with-selftest-prefix=./bin/ab", "text/plain"), ("make", "make -j", "text/plain"), -- cgit