This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.28.9000-225-ge5b8756


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  e5b8756dc2355c315247b710da8d50d48b7a9728 (commit)
      from  ba5b14c7613980dfefcad6b6e88f913e5f596c59 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e5b8756dc2355c315247b710da8d50d48b7a9728

commit e5b8756dc2355c315247b710da8d50d48b7a9728
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Oct 26 15:47:23 2018 +0000

    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.

diff --git a/ChangeLog b/ChangeLog
index 8f2ccef..736d85f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-26  Joseph Myers  <joseph@codesourcery.com>
+
+	* scripts/build-many-glibcs.py: Remove compatibility for missing
+	os.cpu_count and re.fullmatch.
+
 2018-10-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
 
 	[BZ #23822]
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 3f288e0..1bf8ee1 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -50,17 +50,6 @@ import time
 import urllib.request
 
 try:
-    os.cpu_count
-except:
-    import multiprocessing
-    os.cpu_count = lambda: multiprocessing.cpu_count()
-
-try:
-    re.fullmatch
-except:
-    re.fullmatch = lambda p,s,f=0: re.match(p+"\\Z",s,f)
-
-try:
     subprocess.run
 except:
     class _CompletedProcess:

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                    |    5 +++++
 scripts/build-many-glibcs.py |   11 -----------
 2 files changed, 5 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]