Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1swMci-003NLx-Sl for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Oct 2024 14:16:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1swMch-00G20u-3h for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Oct 2024 14:16:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1swMcg-00G20l-RJ for pgsql-hackers@lists.postgresql.org; Thu, 03 Oct 2024 14:16:06 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1swMcd-002Iom-JN for pgsql-hackers@postgresql.org; Thu, 03 Oct 2024 14:16:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 493EG0Lu301305; Thu, 3 Oct 2024 10:16:00 -0400 From: Tom Lane To: Thomas Munro cc: pgsql-hackers Subject: Re: CI warnings test for 32 bit, and faster headerscheck In-reply-to: References: Comments: In-reply-to Thomas Munro message dated "Thu, 03 Oct 2024 18:56:24 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <301303.1727964960.1@sss.pgh.pa.us> Date: Thu, 03 Oct 2024 10:16:00 -0400 Message-ID: <301304.1727964960@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > Hmm, given that configure uses more time than compiling (assuming 100% > ccache hits) and is woefully serial, I wonder what ingredients you'd > need to hash to have bulletproof cache invalidation for a persistent > configure cache, ie that survives between runs. The buildfarm uses a simple trick that seems to work remarkably well: if the animal's previous run failed (for any reason) then blow away the configure cache. Maybe that could be adapted here. regards, tom lane