From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mario Lang Newsgroups: gmane.emacs.devel Subject: Re: Compilation speed Date: Wed, 19 Aug 2020 11:25:37 +0200 Message-ID: <87d03n7zse.fsf@tugraz.at> References: <87bljnby36.fsf@gnus.org> <52a7dda9-7fc5-bc33-d2ea-ad325e2cde96@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29098"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 19 11:26:21 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8KMP-0007Om-NK for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Aug 2020 11:26:21 +0200 Original-Received: from localhost ([::1]:41096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8KMO-0000O8-MX for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Aug 2020 05:26:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8KLw-0008NJ-GL for emacs-devel@gnu.org; Wed, 19 Aug 2020 05:25:52 -0400 Original-Received: from mailrelay.tugraz.at ([129.27.2.202]:49262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8KLq-0000vF-3U for emacs-devel@gnu.org; Wed, 19 Aug 2020 05:25:51 -0400 Original-Received: from x1.blind.guru (zidpc777.tugraz.at [129.27.7.77]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4BWj7P6BXVz1LWph for ; Wed, 19 Aug 2020 11:25:37 +0200 (CEST) Original-Received: by x1.blind.guru (Postfix, from userid 1000) id 9F6C0E80D97; Wed, 19 Aug 2020 11:25:37 +0200 (CEST) In-Reply-To: <52a7dda9-7fc5-bc33-d2ea-ad325e2cde96@cs.ucla.edu> (Paul Eggert's message of "Thu, 6 Aug 2020 12:07:14 -0700") X-TUG-Backscatter-control: lAa1Aa+Pa1hp/miybLoRww X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=mlang@tugraz.at; helo=mailrelay.tugraz.at X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 05:25:40 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253993 Archived-At: Paul Eggert writes: > On 8/6/20 8:20 AM, Lars Ingebrigtsen wrote: > >> And then ./configure takes 19 seconds, and that's fully single-threaded, >> I believe? And... I'm guessing there's no way to get that to be >> multi-threaded? > > You'd either have to rework Autoconf to make it multiprocess > (difficult) or split configure.ac into pieces and run several > './configure' pieces in parallel (this might be doable but would still > be tricky). The "speed" of autoconf is probably the reason why its adoption rate is falling. I remember insisting on using autoconf for many years, just because. Until I figured out CMake 3.x. I will never write an autoconf script again, never. -- AR Mario Lang Phone: +43 316 873 6897 Graz University of Technology Mobile: +43 664 60 873 6897 IT-Services for research and teaching Email: mlang@tugraz.at Steyrergasse 30/1, 8010 Graz, Austria Please https://useplaintext.email/