]> git.ipfire.org Git - thirdparty/glibc.git/commit
Remove pre-Python-3.4 compatibility from build-many-glibcs.py.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 26 Oct 2018 15:47:23 +0000 (15:47 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 26 Oct 2018 15:47:23 +0000 (15:47 +0000)
commite5b8756dc2355c315247b710da8d50d48b7a9728
tree8c3fafa613c6e5c16729d4fba5127dadf4deb1fc
parentba5b14c7613980dfefcad6b6e88f913e5f596c59
Remove pre-Python-3.4 compatibility from build-many-glibcs.py.

Since we have consensus on requiring Python 3.4 or later to build
glibc, it follows that compatibility with older Python versions is
also no longer relevant to auxiliary Python scripts for use in glibc
development.  This patch removes such compatibility code from
build-many-glibcs.py (compatibility code needed for 3.4, which lacks
the newer subprocess interface, is kept).  Because
build-many-glibcs.py is not itself called from the glibc build system,
this patch is independent of the configure checks for having a
new-enough Python version, which are only relevant to uses of Python
from the main build and test process.

Tested with build-many-glibcs.py building glibc for aarch64-linux-gnu
(with Python 3.4 to make sure that still works).

* scripts/build-many-glibcs.py: Remove compatibility for missing
os.cpu_count and re.fullmatch.
ChangeLog
scripts/build-many-glibcs.py