summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-20 14:09:09 +0200
committerMichael Adam <obnox@samba.org>2012-06-21 23:49:19 +0200
commita0f601451785686ba45f3be5c7ca9b5cf3b86113 (patch)
treeb069e8e0683212871c9a7458184e72f0ad0c5ad4
parent18ce23b31d8232bc2be871982bb92e296f96ba7f (diff)
downloadsamba-a0f601451785686ba45f3be5c7ca9b5cf3b86113.tar.gz
samba-a0f601451785686ba45f3be5c7ca9b5cf3b86113.tar.bz2
samba-a0f601451785686ba45f3be5c7ca9b5cf3b86113.zip
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.
-rwxr-xr-xscript/autobuild.py10
1 files changed, 10 insertions, 0 deletions
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"),