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: Re: About ./configure --cache-file (WAS: CHECK_STRUCTS/dmpstruct.h mechanism is broken.) Date: Sat, 13 Apr 2019 23:49:21 -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="232226"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Alan Mackenzie , Eli Zaretskii , Paul Eggert , Emacs developers To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 14 05:50:28 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 1hFW9z-000y7v-UT for ged-emacs-devel@m.gmane.org; Sun, 14 Apr 2019 05:50:28 +0200 Original-Received: from localhost ([127.0.0.1]:58976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFW9t-000244-LT for ged-emacs-devel@m.gmane.org; Sat, 13 Apr 2019 23:50:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFW9I-00023n-LO for emacs-devel@gnu.org; Sat, 13 Apr 2019 23:49:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFW9E-0004wB-J4 for emacs-devel@gnu.org; Sat, 13 Apr 2019 23:49:44 -0400 Original-Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]:44891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFW98-0004sS-MT; Sat, 13 Apr 2019 23:49:35 -0400 Original-Received: by mail-ot1-x32a.google.com with SMTP id d24so11675937otl.11; Sat, 13 Apr 2019 20:49:33 -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=8boiP3ambnGiFwYtyv4oK828+dwVe9aPP2ulCoSg8qI=; b=meME+kbYHS04H7o3vox2d2bFIw5zBi/q7zwM067+jbwfYc8o8R/K+lftre14+2SNL9 8cxAwVrv3yQd+toNkr7EC7wijLxyBjhFdeSx3VHeF6eynmYTg5AeTsqtBrARzPIJ+C6P cMgShsrmm2mEyfNReBnR2L8khrAsVVc8EQpqNhOM1Usb30gKX6f9D8LX1FVn3UOY0W/0 u/SJll8j1p8LUUd6+DhtH507xDsRTgCeUUElMsjyOR+xfEoAEpSBmGh7BUdRYgMiME/j HyjlY1NoFWf/Gl5dD77e7dnLPRp9rNKGYCo7jf3hXaqQcoWS/CIBPqa+iOFh/8Mynllr 7iAA== 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=8boiP3ambnGiFwYtyv4oK828+dwVe9aPP2ulCoSg8qI=; b=nhx9MdLsK3A+UhcqAAfoPaHRv7NZzEhiAn3ghFU38E4fT/8enR6vtBYth8UP0O0b3C LgCB4OcZU+qzKFQYAnFSokz1FiFoJGSbC816ZGNcowjd22q4CH6bHC/eY8kdknK/BKnf +avs+N5hp5bScb7VSDsKsW6PxY88tiOuiBxcrvxCw8TWuLjpL7eRauXvHSMloWK7MIZo 3ZizLCcuQS1wqT+uNY7bCNrc2ViKa95B+mgnkPZ+wBYLXzi+WzWNnSwpV2k7jWrMcE74 NWxWWw7ONtVMmbLq6tFXH8ROYOwzTaGi92KBkkOY9LrqN/RQrYn1Ho0SVR26/C7w2zOW kKKA== X-Gm-Message-State: APjAAAWasuiisK9LY/GpkUBfDXaEX3xgdEAkGzgjF7KXqzPT8m/bqbaQ YgqOMI27BaB+mcpMdEibEl8t4vcO765B65ThzAQ= X-Google-Smtp-Source: APXvYqwUMQUkecs6GVyV/0sQNiqVXQQRAxjm6XJAKCUDosDBLVOwIK2X3sZDbPd1KER4e16HnroH4tKDRWsVtcYFHZY= X-Received: by 2002:a9d:7a83:: with SMTP id l3mr40475483otn.285.1555213772388; Sat, 13 Apr 2019 20:49:32 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::32a 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:235426 Archived-At: On Sat, 13 Apr 2019 at 23:26, Daniel Colascione wrote: > > On 4/13/19 7:44 PM, Paul Eggert wrote: > > Noam Postavsky wrote: > >> The cache is not invalidated automatically, so you need to delete it > >> after upgrading devel libraries or compiler. > > > > ... or if you configure with different flags, or if you edit > > configure.ac or if you do a bunch of other things. For the kind of work > > I do, the cache is way more trouble than it's worth. In practice, I've found the only problematic flag was --with-x-toolkit, building with gtk caused a couple of tests to act differently. Other than that, I even share cache files across Emacs versions, the differences between configure.ac don't seem to be a problem. Of course I expect it's different if you're editing configure.ac and it's in an inconsistent state. > I also > wonder CC="ccache gcc" might help even for the case of a > frequently-changed configure.ac. It wouldn't help for the ./configure step itself, ccache doesn't cache output of linking. Running ./configure does trigger a rebuild of all of Emacs' C files, so ccache definitely helps for that. https://ccache.dev/manual/latest.html: autoconf compile/link Uncachable compilation or linking by an autoconf test.