From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 49A043850414 for ; Wed, 26 Jan 2022 10:02:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 49A043850414 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id A331C343161; Wed, 26 Jan 2022 10:02:33 +0000 (UTC) Date: Wed, 26 Jan 2022 05:02:37 -0500 From: Mike Frysinger To: "R. Diez" , joel@rtems.org, Newlib , Matthew Joyce Subject: Re: Question about autoreconf to regenerate configuration files Message-ID: Mail-Followup-To: "R. Diez" , joel@rtems.org, Newlib , Matthew Joyce References: <26fff1a3-7743-e0ce-f7a6-70b39a030118@embedded-brains.de> <41deefa7-d1ae-18f2-6a8e-25e002d85ed6@yahoo.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sbnHGL5jTsbF8WQV" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2022 10:02:36 -0000 --sbnHGL5jTsbF8WQV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 21 Jan 2022 17:09, Mike Frysinger wrote: > On 21 Jan 2022 17:09, R. Diez via Newlib wrote: > > > [...] > > > The bootstrap time was large enough to > > > negatively impact our ability to do automated regression testing. > >=20 > > A very long bootstrap time could be an issue. > >=20 > > However, compilation time normally outweighs by far the Autotools regen= eration step. Is that a problem in Newlib at the moment? >=20 > autotools (autoreconf really) doesn't run in parallel, so every subdir > with a configure script needs a separate serialized run of all the tools. > newlib has many many of these (arguably, too many). >=20 > on my quad core 4.2GHz AMD that is otherwise idle ... >=20 > $ time (cd newlib && autoreconf) > real 5m22.170s > user 3m13.709s > sys 0m12.332s >=20 > $ time (cd libgloss && autoreconf) > real 1m41.754s > user 0m43.505s > sys 0m3.618s > >=20 > # Blackfin builds 8 copies (multilib) of newlib+libgloss by default. > $ time (cd build; ../configure --host=3Dbfin-elf; make -j4) > real 1m40.950s > user 0m58.032s > sys 0m30.968s updated timings on my system after recent work to delete many configure scr= ipts $ time (cd newlib && autoreconf) real 1m0.619s user 0m45.249s sys 0m1.535s $ time (cd libgloss && autoreconf -I$PWD -I$PWD/.. -I$PWD/../config) real 0m32.662s user 0m15.858s sys 0m1.205s $ time (cd build; ../configure --host=3Dbfin-elf; make -j4) real 1m2.337s user 0m44.987s sys 0m26.708s so it's def better, but autotool generation still takes longer than actually compiling newlib+libgloss 8 times :). -mike --sbnHGL5jTsbF8WQV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmHxHD0ACgkQQWM7n+g3 9YH1cA//SnUBaFHsJxxxvjUQ1/IHHadPtd7pwjUWy1h6hzGHLNWca8/NWivaOrkl 7sJXgsXuIcfrzlauOj4KI7Tyo7J5q4OK7+MbjJbR0L2AMk744oIbYfpVTRVn0Qji ygLgmo4DcMo3mVwj/hGk3dl8bOGpl5mFjX3LV4myjLk+waC/ulzmfySV/v0VF8jT TEvxKAxKuNnQJdqyxzP29A9LOifWPEvjtsylEvFnmKXNCA1DqoMyuyjx59g0/PBd mmh66ZrN7dwgYdcrz2fU67B9zvmRAIzb4tSOo9Ssqr/qlKAZNqABTgQQOir+GzgA UHnGS1xDMVBjDnf0Rk5/WNlqMyBqIcKeH173NTkDaTQlIpPsjDOtbxuIoSHABF/v ygVrTppAC28w7OT2eolC/HjtfyJH+xnb7/aQO1E6LU6lFiYxi5CZqX+MMd0wWjzd CXPduQYHRe1LdfWgjyy3I+AIH/+yoCVCCCCNtYxXcYZTgH+FnJSbc3KTwzboP/Tw tgndGfaj0IcZ9bvFJQRLEKh67/UAkQ6+XH3JFw99xBn06ZRcbvEzB8dcCLfBICho GPE25NR7f9bewZANj9fBKtatb4V3E9Ojj7wok/oUCQVzWEQDBZg8H8/WtSAhxyfv uyNEXx6OtV++iwe47hdG2vE4iQkd1hIAnhPieOnU6Vp7cmhpYA0= =920J -----END PGP SIGNATURE----- --sbnHGL5jTsbF8WQV--