script/autobuild.py: check for AUTOBUILD_SKIP_SAMBA_O3 environment variable
authorStefan Metzmacher <metze@samba.org>
Mon, 1 Aug 2016 14:48:53 +0000 (16:48 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 4 Aug 2016 16:26:06 +0000 (18:26 +0200)
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>
script/autobuild.py

index 0af816637754ecc1b73e41d0dc49ba88aa32bb19..811f906b8d1ef815c39e0c85bbf5bfe2cd0a978c 100755 (executable)
@@ -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"