mirror of
https://github.com/samba-team/samba.git
synced 2025-01-18 06:04:06 +03:00
autobuild: extend samba-ctdb target to build ctdb, too
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
1da294a7eb
commit
c4214a7942
@ -58,16 +58,23 @@ tasks = {
|
|||||||
("tdb-make", "cd lib/tdb && make", "text/plain"),
|
("tdb-make", "cd lib/tdb && make", "text/plain"),
|
||||||
("tdb-install", "cd lib/tdb && make install", "text/plain"),
|
("tdb-install", "cd lib/tdb && make install", "text/plain"),
|
||||||
|
|
||||||
# install the ctdb headers under the prefix:
|
# build and install ctdb:
|
||||||
("ctdb-header-install", "cp ./ctdb/include/* ${PREFIX_DIR}/include", "text/plain"),
|
("ctdb-autogen", "cd ./ctdb && ./autogen.sh", "text/plain"),
|
||||||
|
("ctdb-configure", "cd ./ctdb && ./configure ${PREFIX} --enable-socket-wrapper --with-included-tdb=no", "text/plain"),
|
||||||
|
("ctdb-make", "cd ./ctdb && make all", "text/plain"),
|
||||||
|
("ctdb-install", "cd ./ctdb && make install", "text/plain"),
|
||||||
("ctdb-header-ls", "ls ${PREFIX_DIR}/include/ctdb.h", "text/plain"),
|
("ctdb-header-ls", "ls ${PREFIX_DIR}/include/ctdb.h", "text/plain"),
|
||||||
|
|
||||||
("configure", "PYTHONPATH=${PYTHON_PREFIX}/site-packages:$PYTHONPATH PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${PREFIX_DIR}/lib/pkgconfig ./configure.developer ${PREFIX} --with-selftest-prefix=./bin/ab --with-cluster-support --with-ctdb-dir=${PREFIX_DIR} --bundled-libraries=!tdb", "text/plain"),
|
# build samba with cluster support against this ctdb:
|
||||||
("make", "make", "text/plain"),
|
("samba-configure", "PYTHONPATH=${PYTHON_PREFIX}/site-packages:$PYTHONPATH PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${PREFIX_DIR}/lib/pkgconfig ./configure.developer ${PREFIX} --with-selftest-prefix=./bin/ab --with-cluster-support --with-ctdb-dir=${PREFIX_DIR} --bundled-libraries=!tdb", "text/plain"),
|
||||||
("check", "./bin/smbd -b | grep CLUSTER_SUPPORT", "text/plain"),
|
("samba-make", "make", "text/plain"),
|
||||||
("install", "make install", "text/plain"),
|
("samba-check", "./bin/smbd -b | grep CLUSTER_SUPPORT", "text/plain"),
|
||||||
|
("samba-install", "make install", "text/plain"),
|
||||||
|
|
||||||
|
# clean up:
|
||||||
("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
|
("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
|
||||||
("clean", "make clean", "text/plain") ],
|
("clean", "make clean", "text/plain"),
|
||||||
|
("ctdb-clean", "cd ./ctdb && make clean", "text/plain") ],
|
||||||
|
|
||||||
"samba-libs" : [
|
"samba-libs" : [
|
||||||
("random-sleep", "script/random-sleep.sh 60 600", "text/plain"),
|
("random-sleep", "script/random-sleep.sh 60 600", "text/plain"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user