public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/builtin-syscalls-3] build-many-glibcs.py: Move cleanup_dir out of build_glibc
@ 2019-12-12  8:40 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2019-12-12  8:40 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=621054c8ceac1c47e27f291af2a2a2e00da7a242

commit 621054c8ceac1c47e27f291af2a2a2e00da7a242
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Dec 11 18:20:50 2019 +0100

    build-many-glibcs.py: Move cleanup_dir out of build_glibc
    
    This allows customization of the post-build actions.

Diff:
---
 scripts/build-many-glibcs.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 0c7d8ec..0c01c3b 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -1217,6 +1217,7 @@ class Config(object):
             cmdlist.push_subdesc('glibc')
             cmdlist.push_subdesc(g.name)
             g.build_glibc(cmdlist, True)
+            cmdlist.cleanup_dir()
             cmdlist.pop_subdesc()
             cmdlist.pop_subdesc()
         self.build_gcc(cmdlist, False)
@@ -1427,6 +1428,7 @@ class Glibc(object):
                              os.path.join(self.compiler.installdir, 'ok')])
         cmdlist.use_path(self.compiler.bindir)
         self.build_glibc(cmdlist, False)
+        cmdlist.cleanup_dir()
         self.ctx.add_makefile_cmdlist('glibcs-%s' % self.name, cmdlist,
                                       logsdir)
 
@@ -1486,7 +1488,6 @@ class Glibc(object):
             cmdlist.add_command('check', ['make', 'check'])
             cmdlist.add_command('save-logs', [self.ctx.save_logs],
                                 always_run=True)
-        cmdlist.cleanup_dir()
 
 
 class Command(object):


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-12  8:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12  8:40 [glibc/fw/builtin-syscalls-3] build-many-glibcs.py: Move cleanup_dir out of build_glibc Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).