[PATCH v3 0/2] scripts: Some improvements to build-many-glibcs.py

Yury Khrustalev yury.khrustalev@arm.com
Thu Nov 27 12:45:55 GMT 2025


Several improvements to the build-many-glibcs.py script. Mostly supporting
more stable code checkout experience. If this is OK, I'd like to back-port
this to earlier releases too.

Manually tested checkout with and without env variables and with and without
the --replace-sources option.

More testing needed to cover other use cases, thanks!

---

Changes in v3:
 - Patch 1 from v2 has been merged earlier as a separate change.
 - Described new env vars at the top of the script.
 - Added handling of existing Git working copies (suggested by Carlos).
 - v2: https://inbox.sourceware.org/libc-alpha/20251119125420.10972-1-yury.khrustalev@arm.com/

Changes in v2:
 - I don't fix all possible lint warnings beacuse it would make it very hard
   backport these changes.
 - I am not changing Git URLs used by default (to use https:// instead of
   git://) because this would be an orthogonal change, I just retain existing
   URLs.
 - Switch to using env variables for the URL for FTP mirror instead of using
   https://ftpmirror.gnu.org/ by default.
 - v1: https://inbox.sourceware.org/libc-alpha/20251112114516.1028658-1-yury.khrustalev@arm.com/

---

Yury Khrustalev (2):
  scripts: Support custom FTP mirror URL in build-many-glibcs.py
  scripts: Support custom Git URLs in build-many-glibcs.py

 scripts/build-many-glibcs.py | 72 ++++++++++++++++++++++++++++--------
 1 file changed, 56 insertions(+), 16 deletions(-)

-- 
2.47.3



More information about the Libc-alpha mailing list