]> sourceware.org Git - glibc.git/commitdiff
build-many-glibcs.py: Do not build C++ PCHs by default
authorFlorian Weimer <fweimer@redhat.com>
Tue, 17 Dec 2019 15:23:08 +0000 (16:23 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 18 Dec 2019 07:47:45 +0000 (08:47 +0100)
They are not used during the subsequent glibc build, so creating them
merely wastes time.

scripts/build-many-glibcs.py

index 193d49727bf480a400b5c0e1a8096629dbc62e9a..92cc613c5d8dc188918a394de52a3fedbf975695 100755 (executable)
@@ -1382,9 +1382,12 @@ class Config(object):
         else:
             tool_build = 'gcc'
             # libsanitizer commonly breaks because of glibc header
-            # changes, or on unusual targets.
+            # changes, or on unusual targets.  C++ pre-compiled
+            # headers are not used during the glibc build and are
+            # expensive to create.
             if not self.ctx.full_gcc:
-                cfg_opts += ['--disable-libsanitizer']
+                cfg_opts += ['--disable-libsanitizer',
+                             '--disable-libstdcxx-pch']
             langs = 'all' if self.ctx.full_gcc else 'c,c++'
             cfg_opts += ['--enable-languages=%s' % langs,
                          '--enable-shared', '--enable-threads']
This page took 0.044284 seconds and 5 git commands to generate.