From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Compilation speed Date: Wed, 19 Aug 2020 14:37:52 +0200 Message-ID: <20200819123752.qa6zs4brrltj5k62@Ergus> References: <87bljnby36.fsf@gnus.org> <52a7dda9-7fc5-bc33-d2ea-ad325e2cde96@cs.ucla.edu> <87d03n7zse.fsf@tugraz.at> <20200819094305.GB31976@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3893"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 19 14:39:04 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 1k8NMu-0000uB-FZ for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Aug 2020 14:39:04 +0200 Original-Received: from localhost ([::1]:38602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8NMt-00019Q-IY for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Aug 2020 08:39:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8NLt-0000NT-HD for emacs-devel@gnu.org; Wed, 19 Aug 2020 08:38:02 -0400 Original-Received: from sonic314-13.consmr.mail.bf2.yahoo.com ([74.6.132.123]:37108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k8NLr-00024Y-Ci for emacs-devel@gnu.org; Wed, 19 Aug 2020 08:38:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1597840675; bh=bOSzPp4uYGVhl6U5Aaz8v1GMMGGJ+/J+IBhI815UDNs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=IuBraitce3zzMB5BeEE//9eTh9NmyZaEGGX9HJwwOJ8bkeBDGKgG6Kc6B5yQPynSjZRfYbgj1Mo6A4462GvVaU+Ta8bzWSzKBBM13Tz64i+ntBpLEgn+yB4LPHxHZXEsOzDOmVUNDDj9RhI2iocdZ4+5wHknAPdQwh05zy3wfL/5Y/YSvDLB8WMLOdTBkiCpcxizO1FbzRN05RDWo8m5WsTwU0P1o2XjqGGFQ4a+bR9dBsLfxk3Hh1xEiQ9ZiB3TrhoKYMQBJ5ppB60z6GH+A0Nw7McRzzEJ18lvpzVHv5SRq2hkuox1wktxkPPPB2xLTqWHmlC23aUsJH8ulRotQw== X-YMail-OSG: 945Pm6AVM1nI.mVCpNNfCSSeBpSP1ia9vZXqkv.8xK6gaT7LXHdpymS8TYncwC1 bsaftAF5al.xXqSvQj5gWr1trLLOA3arTow50j872dH5hR4kNHbtChdbLSiKoAzPceZHth26mUau S8Eqj5DdpvucX7LUFMvPezJohBR35HpPUnoQDlKbdJZjPda8r6BBtdkZRpy1ypMYgh.0WyBy.XLO Qzr2GAlL3tA9APNBZLkUpvUS6StFUVgKe0zFXQbsh8bSTFXSibxospPq65T1Tz7fWw3GTy1fctxj jBSqchY3PYHOiavNC5ezArt29Qfia5oiCayvBJU0NP51bx8FhO_ZVTqPGGg0CV6CIJislXWQMue4 jwiy0YBBWExYGUSjt5ooI1Ak7Dse8AVnP1W3.7PtLFa8EkuRlBH0yZUHD1oIOrmUsi8sDnJKWMwg d9.YPDOCH7mx1ud6Ibib_lnbqKDq1IuU8bi_hwr5bfKcRiLBACLklwf7Evweb51pvu1dy9dPb2w3 H.p86ebfMMCbXMRNlmJ_FXPlKnd87jaoALbOjTYhdnkEBp.bSVyz8yKs2QR91s8qyHTVbsVaUtiF 37bAzhQrUAryH6Po3yz3D.RnzgLWslYgggReSNEe0mRKGLahFNueJ7X.zBC_1V.oCAR7NhuthOrl DMK70t6Scga56L52igCaETAWezqhl9kFSRqbP.OSsCIGuDA4Thq.U8BXwYF3Tx_Ntjggb9WV6guE fEQcvS.QRg7pyATesfbxOb30VzGRb_lWYa6ObqbJklmY3_mbKr_ktCKhumtFsK3FQYqVwszZGrt6 yea1OjMfe3AnmrK1CMgQO6aYu3uEZIfpKdnwWNez5V Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Wed, 19 Aug 2020 12:37:55 +0000 Original-Received: by smtp402.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 2866871488bf5af1d9a41f31e165a57e; Wed, 19 Aug 2020 12:37:54 +0000 (UTC) Content-Disposition: inline In-Reply-To: <20200819094305.GB31976@tuxteam.de> X-Mailer: WebService/1.1.16455 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=74.6.132.123; envelope-from=spacibba@aol.com; helo=sonic314-13.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 08:37:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-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:253998 Archived-At: On Wed, Aug 19, 2020 at 11:43:05AM +0200, tomas@tuxteam.de wrote: >On Wed, Aug 19, 2020 at 11:25:37AM +0200, Mario Lang wrote: >> 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? > >[...] > >> 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. > >I used to consider CMake as "just another build system, why not". Until >I saw its cross-compilation story. Since then, I appreciate autoconf >even more. > I do cross compilation in CMake almost daily and I actually have very few complains. It is extremely simple and it has "A syntax to rule them all". And other "extras" like cpack, ctest, ccmake, the finders (with the same syntax) or the CMAKE_EXPORT_COMPILE_COMMANDS option to generato compilation database for clang. The only real issue for me in CMake is that there is not a log where I can see quickly the configuration command I used on yesterday. OTOH, in emacs CMake is not an option because gnulib does not give any support for it (developers policy). Which in my opinion is bad for gnulib because CMake use is growing.