From 4370870957ffeaaf2c7891e8f39e4043b4881b1b Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 1 Aug 2016 16:48:53 +0200 Subject: [PATCH] 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 --- script/autobuild.py | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.47.2