From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: About ./configure --cache-file (WAS: CHECK_STRUCTS/dmpstruct.h mechanism is broken.) Date: Sat, 13 Apr 2019 20:26:14 -0700 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; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="184479"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 Cc: Eli Zaretskii , Emacs developers To: Paul Eggert , Noam Postavsky , Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 14 05:38:18 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 1hFVyB-000lpr-Qs for ged-emacs-devel@m.gmane.org; Sun, 14 Apr 2019 05:38:15 +0200 Original-Received: from localhost ([127.0.0.1]:58879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFVyA-0006LX-SJ for ged-emacs-devel@m.gmane.org; Sat, 13 Apr 2019 23:38:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFVw8-0004CT-W6 for emacs-devel@gnu.org; Sat, 13 Apr 2019 23:36:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFVmr-0006cp-HJ for emacs-devel@gnu.org; Sat, 13 Apr 2019 23:26:35 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:50406) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFVmq-0006YZ-Fo; Sat, 13 Apr 2019 23:26:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=chd+aCbxnjnTP4tfhOAnt+GkqCf0fHr81GRX4Ye/rpQ=; b=CZ+u1870qkWsZjztPnUEzFDGbSnQMXxPKwTrgkeZGEFUEkIHeCRxD8HYMYjgfXLfXbTAu9OK7Ei3MxrWwfZFCAyWpLytY60NDfqYSDtIlf+ZpXolZpNwo9JsAyhFBF35+UkLawg+1KqJsUkVaJcXBTu2Pn6WlPNC25BOb3JwV+SVSlgAHso4pp+2EIFGYunWNQk7f5MCkDaZzJtSSJwgrQCsgqWLWHrlPc2ppkCvvC1LfyH6FwsVTCS1tN1Fm31bB2HaWeDiQKjZIULVT8OuuhBvhxfbHjHxZKrqqKNp7msnWNiDkKN45IigKd58BvQ1rw7Ivi3j5fhI9WBIhO0e6Q==; Original-Received: from [2604:4080:1321:9a00:fc2a:787c:f84c:2105] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1hFVmf-0001zy-T9; Sat, 13 Apr 2019 20:26:21 -0700 In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:235421 Archived-At: 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. The caching could probably be a lot better. We could incorporate a hash of the passed-in variables and of the environment into the cache file now. As for changing configure.ac itself: that's very rare. I also wonder CC="ccache gcc" might help even for the case of a frequently-changed configure.ac.