summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-25 00:58:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-25 00:58:22 +0000
commita1c9859baf0b9a062bee6218e5e3402577b2c84e (patch)
tree25783e955ba00ebdbe2c09c86468bf23bc7a60b6 /ChangeLog
parent457663a7cd48a675b44769368567713353011b5b (diff)
downloadglibc-a1c9859baf0b9a062bee6218e5e3402577b2c84e.tar.gz
Make build-many-glibcs.py re-exec itself if changed by checkout.
Updating build-many-glibcs.py may result in changes to the default versions of components, or to the set of components (if e.g. Hurd support is added and that requires a new component). It's desirable for the checkout process to leave a source tree that is ready to use. If the checkout updated the script itself, that means it needs to be rerun to cause any new versions or components referenced by the new script version to be properly checked out. This patch makes the script check if it was modified by the checkout process, and re-exec itself (with the same arguments) if so. * scripts/build-many-glibcs.py (Context.__init__): Save text of script being executed. (Context.get_script_text): New function. (Context.exec_self): Likewise. (Context.checkout): Re-exec script if changed by checkout process.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c57a8927b3..9c5fdc8e5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2016-11-25 Joseph Myers <joseph@codesourcery.com>
+
+ * scripts/build-many-glibcs.py (Context.__init__): Save text of
+ script being executed.
+ (Context.get_script_text): New function.
+ (Context.exec_self): Likewise.
+ (Context.checkout): Re-exec script if changed by checkout process.
+
2016-11-24 Joseph Myers <joseph@codesourcery.com>
* math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]