Skip to content

Commit

Permalink
autobuild: add a target "samba3-ctdb" that builds samba3 (autoconf) w…
Browse files Browse the repository at this point in the history
…ith 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.
  • Loading branch information
obnoxxx committed Jun 21, 2012
1 parent 18ce23b commit a0f6014
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions script/autobuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

builddirs = {
"samba3" : "source3",
"samba3-ctdb" : "source3",
"samba" : ".",
"samba-ctdb" : ".",
"samba-libs" : ".",
Expand Down Expand Up @@ -48,6 +49,15 @@
("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"),
Expand Down

0 comments on commit a0f6014

Please sign in to comment.