From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14794 invoked by alias); 18 Dec 2019 07:48:00 -0000 Mailing-List: contact glibc-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: glibc-cvs-owner@sourceware.org List-Subscribe: Received: (qmail 14770 invoked by uid 9299); 18 Dec 2019 07:48:00 -0000 Date: Wed, 18 Dec 2019 07:48:00 -0000 Message-ID: <20191218074800.14769.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc] build-many-glibcs.py: Do not build C++ PCHs by default X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/master X-Git-Oldrev: a45244ce127763872ff0b5743fb4ac8299ee9b28 X-Git-Newrev: 3aec0c3912859bcf0432c700a8fbdcb23b45545f X-SW-Source: 2019-q4/txt/msg00624.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3aec0c3912859bcf0432c700a8fbdcb23b45545f commit 3aec0c3912859bcf0432c700a8fbdcb23b45545f Author: Florian Weimer Date: Tue Dec 17 16:23:08 2019 +0100 build-many-glibcs.py: Do not build C++ PCHs by default They are not used during the subsequent glibc build, so creating them merely wastes time. Diff: --- scripts/build-many-glibcs.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 193d497..92cc613 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -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']