]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
build-many-glibcs.py: Use make -O for more consistent log output
authorFlorian Weimer <fweimer@redhat.com>
Mon, 22 Feb 2021 08:39:14 +0000 (09:39 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 22 Feb 2021 08:39:14 +0000 (09:39 +0100)
The -O option avoids interleaving (e.g.) compiler error messages
with other build messages, and makes attribution of messages to
commands easier.

According to my tests, the impact on build time is within the noise.

scripts/build-many-glibcs.py

index 071f338cbbc21545b2235e7eebe9fb89e430e405..8d97320f6df0bd04a3139aee5f9ff02fd4ba72a9 100755 (executable)
@@ -670,7 +670,7 @@ class Context(object):
 
     def do_build(self):
         """Do the actual build."""
-        cmd = ['make', '-j%d' % self.parallelism]
+        cmd = ['make', '-O', '-j%d' % self.parallelism]
         subprocess.run(cmd, cwd=self.builddir, check=True)
 
     def build_host_libraries(self):