From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: About ./configure --cache-file (WAS: CHECK_STRUCTS/dmpstruct.h mechanism is broken.) Date: Sat, 13 Apr 2019 10:46:34 -0400 Message-ID: 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> <20190413140646.GE13636@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="120284"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Eli Zaretskii , Paul Eggert , Emacs developers To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 13 16:47: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 1hFJvo-000V7O-Dp for ged-emacs-devel@m.gmane.org; Sat, 13 Apr 2019 16:47:00 +0200 Original-Received: from localhost ([127.0.0.1]:52442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFJvn-0008DO-Dz for ged-emacs-devel@m.gmane.org; Sat, 13 Apr 2019 10:46:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFJvi-0008DI-0b for emacs-devel@gnu.org; Sat, 13 Apr 2019 10:46:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFJvf-0003k6-5U for emacs-devel@gnu.org; Sat, 13 Apr 2019 10:46:52 -0400 Original-Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]:33390) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFJva-0003cd-SZ; Sat, 13 Apr 2019 10:46:47 -0400 Original-Received: by mail-ot1-x333.google.com with SMTP id j10so10917800otq.0; Sat, 13 Apr 2019 07:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5vqhrATrzA3uPzVSFe3yXceo8yBLUaDlVTfEfsZTWZ8=; b=t5KDMEZSrBuGWK5QZ95VvPs4effc1TFMPancw2lQsGxiMIyFJ6Hxi7pSL1Lq8jfRXu yzVrMMzwbz70bM/YCTWUqW+qaO2Vj01//hU0VA5fD0TLCFIpFrSYGzjpJjDuIZVMKFML iRJ9clZ5Aloo6HHp84Iv1bDdY5Rgx+TVsByxpIZ6iy2ZHL4WYbKhnH5nJuXNM2CUJmmU /WF3s+ccDgA9npIpdM8bpVqMEMWKGhHbeHKLoRQpvSXSLrDn68uZ4f/aaJvsMOSx+u33 8YWKK3n0ubo55cMLnR1n9D1ulosCylPVDrOobGdgl+bn5wYbMy9u21AlVnoU1BZCL0Zj uSbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5vqhrATrzA3uPzVSFe3yXceo8yBLUaDlVTfEfsZTWZ8=; b=E+QGWoVHhP/HtLzpMShrBLU0SpbRTJDg8EaL9QEO2FUOdY/Nr/Uc4ebzl/5i1+9B7f orGlEQpLUqGqjG/1KR/zWGsXngC0yJzSYF7gDZzWZjlTB3WkrRKNXOdmsKlcNf9FfJ3V gGDw1/mxmFhQy7pYK1N2pgOmA17FUA4OXvgncRPNHw8M2AkoBT8ecRXyx8Ed96f/X9pm ukeRx0Mxzta/yxEwGTT0X/NRom7hIsrzlNgYlyZq4FdXoMIW8cXanOL4wIbqJSd+pUfc +YWqfAJd58QblMnbPHmDLyVFSv6/Qjo9ehSJZxKvueyvMIoBPGM6uqYMkLXJZCPVoT4B yaGw== X-Gm-Message-State: APjAAAWsF4I2BKbIoj8JYEpjBeN7E+P1iz3tn+gUd8qaogrERDUMhpFX OK5RpwHUIGdOFe3NZC/wFh1IaxU78mYZHAWJb1g= X-Google-Smtp-Source: APXvYqzphsaFCqSVmsJUGZGHVdNdNjAPjHMss5MWzQvo6kK4T2N2StcuTr6FvHacxD8dLzxcsVb/uzDgoDIPmEmUG54= X-Received: by 2002:a05:6830:2090:: with SMTP id y16mr31480033otq.97.1555166805976; Sat, 13 Apr 2019 07:46:45 -0700 (PDT) In-Reply-To: <20190413140646.GE13636@ACM> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::333 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:235397 Archived-At: On Sat, 13 Apr 2019 at 10:06, Alan Mackenzie wrote: > > > > I just now timed it, and './configure' took 29 real-time seconds > > > 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, The macros used in configure.ac control what is cached. > and how > does configure know when something needs determining again rather than > just copying a result from the cache? The cache is not invalidated automatically, so you need to delete it after upgrading devel libraries or compiler. > 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. Definitely can't take the cache file to a different machine. > Is ./configure -C documented at all? Not from the perspective of a user running ./configure as far as I know, but see (autoconf.info) Caching Results. https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Caching-Results.html