From: Stefan Metzmacher Date: Mon, 1 Aug 2016 14:48:53 +0000 (+0200) Subject: script/autobuild.py: check for AUTOBUILD_SKIP_SAMBA_O3 environment variable X-Git-Tag: tevent-0.9.30~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4370870957ffeaaf2c7891e8f39e4043b4881b1b;p=thirdparty%2Fsamba.git 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 Reviewed-by: Jeremy Allison Reviewed-by: Michael Adam --- 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"