summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-08-01 16:48:53 +0200
committerMichael Adam <obnox@samba.org>2016-08-04 18:26:06 +0200
commit4370870957ffeaaf2c7891e8f39e4043b4881b1b (patch)
tree21a7363ea002bef09f93d522a2e70477d8dc4ae7 /script
parent62b7e73d4007401f52792bc74768dfd8c1472274 (diff)
downloadsamba-4370870957ffeaaf2c7891e8f39e4043b4881b1b.tar.gz
script/autobuild.py: check for AUTOBUILD_SKIP_SAMBA_O3 environment variable
We need to skip the samba-o3 target on older systems like sn-devel-104. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12108 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 0af81663775..811f906b8d1 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -41,6 +41,9 @@ builddirs = {
defaulttasks = [ "ctdb", "samba", "samba-xc", "samba-o3", "samba-ctdb", "samba-libs", "samba-static", "ldb", "tdb", "talloc", "replace", "tevent", "pidl" ]
+if os.environ.get("AUTOBUILD_SKIP_SAMBA_O3", "0") == "1":
+ defaulttasks.remove("samba-o3")
+
samba_configure_params = " --picky-developer ${PREFIX} ${EXTRA_PYTHON} --with-profiling-data"
samba_libs_envvars = "PYTHONPATH=${PYTHON_PREFIX}/site-packages:$PYTHONPATH"