From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: CHECK_STRUCTS/dmpstruct.h mechanism is broken. Date: Sat, 13 Apr 2019 14:06:46 +0000 Message-ID: <20190413140646.GE13636@ACM> References: <20190410162203.GA4009@ACM> <9809d5ce-c1c4-48e9-6dac-489431b34067@cs.ucla.edu> <671ba8dd-894b-5698-d162-8901b1098b9a@cs.ucla.edu> <83k1g04al8.fsf@gnu.org> <93b861b3-41d2-e590-d4b8-46a4bb64bfe8@cs.ucla.edu> <20190412133727.GC4588@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="215402"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Eli Zaretskii , Paul Eggert , Emacs developers To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 13 16:07:00 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFJJ5-000ttx-IA for ged-emacs-devel@m.gmane.org; Sat, 13 Apr 2019 16:06:59 +0200 Original-Received: from localhost ([127.0.0.1]:52134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFJJ4-0008Qh-Eg for ged-emacs-devel@m.gmane.org; Sat, 13 Apr 2019 10:06:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFJIy-0008Os-B8 for emacs-devel@gnu.org; Sat, 13 Apr 2019 10:06:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFJIx-0001sY-8Z for emacs-devel@gnu.org; Sat, 13 Apr 2019 10:06:52 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:53609 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1hFJIx-0001rW-0m for emacs-devel@gnu.org; Sat, 13 Apr 2019 10:06:51 -0400 Original-Received: (qmail 76645 invoked by uid 3782); 13 Apr 2019 14:06:47 -0000 Original-Received: from acm.muc.de (p2E5D5F4C.dip0.t-ipconnect.de [46.93.95.76]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 13 Apr 2019 16:06:46 +0200 Original-Received: (qmail 25343 invoked by uid 1000); 13 Apr 2019 14:06:46 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235396 Archived-At: Hello, Noam. On Fri, Apr 12, 2019 at 09:58:17 -0400, Noam Postavsky wrote: > On Fri, 12 Apr 2019 at 09:37, Alan Mackenzie wrote: > > > I just now timed it, and './configure' took 29 real-time seconds > > > whereas 'cd lisp; make -j16 compile-always' took 38 real-time > > > seconds; this was with two circa-2013 Xeon E5-2640 v2 CPUs with 8 > > > cores each. So on a 32-core platform, I expect ./configure to > > > take longer than byte-compiling all the Lisp files - i.e., > > > 'configure' is ridiculously slow. > > For the record, the slowness of `configure' irritates me, too. > For the record, I use the --cache-file option, and `configure' runs in > 2 real-time seconds. I use separate cache files per configuration, it > works pretty well. I tried that out yesterday, and indeed it takes about 2 seconds. :-) But it's not clear how ./configure -C works. What gets cached, and how does configure know when something needs determining again rather than just copying a result from the cache? Presumably one needs to be prepared to delete the cache file when moving the top level directory to a different environment, and things like that. Is ./configure -C documented at all? -- Alan Mackenzie (Nuremberg, Germany).