]> git.ipfire.org Git - thirdparty/glibc.git/commit
Make build-many-glibcs.py work on python3.2
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 10 Jan 2017 18:31:19 +0000 (16:31 -0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 11 Jan 2017 12:30:40 +0000 (10:30 -0200)
commit64235ccc11175e6d4186a8fa911816cd7674d453
treeac5e842ff4a67c0ad20228c2e6488d2c793f9ece
parent77847b5cc352c04b7d8d8b84c7dd5e7091c1aaec
Make build-many-glibcs.py work on python3.2

I used this patch to run the new build script with python3.2, it may be worth
adding this hack if python3.5 is not widespread (might work with older python,
i haven't tested that).

This patch make build-many-glibcs.py work with python 3.2 by
adding fallback implementation to python 3.5 facilities if they
are not present.

Checked building a x86_64-linux-gnu toolchain with python 3.2.

2016-11-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>

* scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
(re.fullmatch, subprocess.run): Likewise.
ChangeLog
scripts/build-many-glibcs.py