diff options
author | Andrew Bartlett <abartlet@samba.org> | 2020-09-11 10:40:59 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2020-10-01 01:18:38 +0000 |
commit | 3e488255074da8dd3284bd9c8255fd1eff5133a9 (patch) | |
tree | 7545aaa60a70b0568a34aed84248346b8d2effb9 /script | |
parent | 8557a52937e3a3319fa4bd9b18af792cee9ec528 (diff) | |
download | samba-3e488255074da8dd3284bd9c8255fd1eff5133a9.tar.gz |
build: Remove Python2 support from the build
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14488
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'script')
-rwxr-xr-x | script/autobuild.py | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/script/autobuild.py b/script/autobuild.py index 926cf379a54..89699826e62 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -711,42 +711,7 @@ tasks = { ("libs-install", "make install"), ("libs-check-clean-tree", "script/clean-source-tree.sh"), ("libs-clean", "make clean"), - ], - - # check we can do the same thing using python2 - "samba-nopython-py2": [ - ("random-sleep", random_sleep(300, 900)), - ("configure", "PYTHON=python2 ./configure.developer ${ENABLE_COVERAGE} ${PREFIX} --with-profiling-data --disable-python --without-ad-dc"), - ("make", "PYTHON=python2 make -j"), - ("install", "PYTHON=python2 make install"), - ("find-python", "script/find_python.sh ${PREFIX}"), - ("test", "make test-nopython"), - ("lcov", LCOV_CMD), - ("check-clean-tree", "script/clean-source-tree.sh"), - ("clean", "PYTHON=python2 make clean"), - ("talloc-configure", "cd lib/talloc && PYTHON=python2 " + samba_libs_configure_base + " --bundled-libraries=cmocka,NONE --disable-python"), - ("talloc-make", "cd lib/talloc && PYTHON=python2 make"), - ("talloc-install", "cd lib/talloc && PYTHON=python2 make install"), - - ("tdb-configure", "cd lib/tdb && PYTHON=python2 " + samba_libs_configure_base + " --bundled-libraries=cmocka,NONE --disable-python"), - ("tdb-make", "cd lib/tdb && PYTHON=python2 make"), - ("tdb-install", "cd lib/tdb && PYTHON=python2 make install"), - - ("tevent-configure", "cd lib/tevent && PYTHON=python2 " + samba_libs_configure_base + " --bundled-libraries=cmocka,NONE --disable-python"), - ("tevent-make", "cd lib/tevent && PYTHON=python2 make"), - ("tevent-install", "cd lib/tevent && PYTHON=python2 make install"), - - ("ldb-configure", "cd lib/ldb && PYTHON=python2 " + samba_libs_configure_base + " --bundled-libraries=cmocka,NONE --disable-python"), - ("ldb-make", "cd lib/ldb && PYTHON=python2 make"), - ("ldb-install", "cd lib/ldb && PYTHON=python2 make install"), - - # retry against installed library packages - ("libs-configure", "PYTHON=python2 " + samba_libs_configure_base + samba_libs_configure_bundled_libs + " --disable-python --without-ad-dc"), - ("libs-make", "PYTHON=python2 make -j"), - ("libs-install", "PYTHON=python2 make install"), - ("libs-check-clean-tree", "script/clean-source-tree.sh"), - ("libs-clean", "PYTHON=python2 make clean"), ], "ldb": [ |