]> sourceware.org Git - glibc.git/commit
Do not copy glibc sources in build-many-glibcs.py.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 28 Nov 2018 17:28:50 +0000 (17:28 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 28 Nov 2018 17:28:50 +0000 (17:28 +0000)
commit530504e3a825a63ad4976f24cd50aa9b15d3b91e
tree8b0a8fe96c1c449de0740b8929aa61b0fea938a0
parent9a0b69703342090b1e3afdc731808e26d95d0c40
Do not copy glibc sources in build-many-glibcs.py.

Now that build-many-glibcs.py touches at checkout time all files that
might get rebuilt in the glibc source directory in a normal glibc
build and test run, this patch stops the script from copying the glibc
source directory, so that all builds use the original directory
directly (and less disk space is used, less I/O is involved and cached
copies of the sources in memory can be shared between all the builds -
as well as avoiding spurious failures from copying while "git gc" is
running).  This is similar to how all other components were already
handled.  Any bugs involving writing into the source directory can be
dealt with in future as normal bugs, just as such bugs already are
handled.

Tested with build-many-glibcs.py runs with a read-only glibc source
directory, with all files not touched by the script having timestamps
in forwards alphabetical order and separately with all files not
touched by the script having timestamps in backwards alphabetical
order.

* scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
source directory instead of a copy.
(CommandList.create_copy_dir): Remove.
ChangeLog
scripts/build-many-glibcs.py
This page took 0.042817 seconds and 5 git commands to generate.