diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-11-26 23:52:43 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-11-26 23:52:43 +0000 |
commit | 2bd0bfcc6857f1fde2bd9716dc103333ebaa6807 (patch) | |
tree | bedae6f1f308aa3f37c50bedb8291c01497e0685 /nptl_db | |
parent | affec03b713c82c43a5b025dddc21bde3334f41e (diff) | |
download | glibc-2bd0bfcc6857f1fde2bd9716dc103333ebaa6807.tar glibc-2bd0bfcc6857f1fde2bd9716dc103333ebaa6807.tar.gz glibc-2bd0bfcc6857f1fde2bd9716dc103333ebaa6807.tar.bz2 glibc-2bd0bfcc6857f1fde2bd9716dc103333ebaa6807.zip |
Touch more glibc source files in build-many-glibcs.py.
build-many-glibcs.py currently copies the source tree to avoid issues
with parallel builds trying to write into it. This copying can result
in occasional spurious build failures from bots, when a "git gc" is in
progress that changes .git contents while copying is taking place, and
it would also be desirable to avoid the need to copy to save on disk
space, I/O and memory used in build-many-glibcs.py builds.
In preparation for removing the copying, this patch arranges for
build-many-glibcs.py to touch more files on checkout so their
timestamps do not result in make attempting to rebuild them. Before
actually removing the copying, I intend to do further tests to ensure
I haven't missed any other such makefile dependencies.
This is of course without prejudice to possibly moving more of these
files to being generated in the build directory rather than being
checked in at all, where that can be done using build tools already
required for the build. For sysdeps files (installed and otherwise)
it would be necessary to make sure this does not affect the search
ordering, for headers used in the build it would be necessary to
ensure they are generated early enough, and for errlist.c there may be
dual licensing reasons for keeping it checked in.
Tested that a checkout with build-many-glibcs.py does touch the
expected files and that a glibcs build for aarch64-linux-gnu succeeds.
* scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
Touch additional files.
Diffstat (limited to 'nptl_db')
0 files changed, 0 insertions, 0 deletions