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 1sI8wy-00DQPL-7q for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Jun 2024 15:34:48 +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 1sI8wv-002g8y-Oy for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Jun 2024 15:34:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sI8wu-002g8q-DW for pgsql-hackers@lists.postgresql.org; Fri, 14 Jun 2024 15:34:46 +0000 Received: from fout7-smtp.messagingengine.com ([103.168.172.150]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sI8wq-001eZX-NB for pgsql-hackers@lists.postgresql.org; Fri, 14 Jun 2024 15:34:44 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.nyi.internal (Postfix) with ESMTP id 5C93E13800E4; Fri, 14 Jun 2024 11:34:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 14 Jun 2024 11:34:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1718379278; x=1718465678; bh=eI6RzKW1Cr191t0jmOrbHwMHOc/FhIxI4ynxgPIs1yw=; b= TDVL8sTdHIdwApZ0/dzPhRLdnHtZo+EGWKL6lArVvEXSjuGkggwaWlR4fhQuwYib G8YOj8XkVf3CZqM1by7Ll3CpT6qEqRFZFtBUn2LTXVTkDiejn7wysPPwMxUE9LSj 6ShJTVI6EfLO1qj848CY9VGJlAg3WDKYHcT2Jpy7nraT8cL2+K2Erss3FsJRFsa2 nB/2cTgtXrTFaSLcWdIz+m6Tf+L03LWCPQ/eQFkuiB6f1ldlFl1TLcekTWhdP6N1 lDz3nTPsp+Zbd6bl2LLm3sfZKABOl0FZattUL4bNjuact+qdx0zZwSrWwiXd1iTy IQttd3pQMGtIeAhUSiPqQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718379278; x= 1718465678; bh=eI6RzKW1Cr191t0jmOrbHwMHOc/FhIxI4ynxgPIs1yw=; b=O BUu/x/gNlmReEJCRpxPMV/XeJnP/iysENbSXDkE98UpHzB9ysSvBxG8X+rt2HJG0 j4D+2EmP390gUZ9EbEqlcaLWTlRYR5NMNVTqgvhpHo4tHvRXtnOmNJO7aErivsgu lX5cBELjQ9ztaeg4dgzb0V05YSE0ykR5nue6b1UbFKDUdT/2iQTDqtydOVAldiIn FwPUnrlBslayF/fVhrfEGe7vyXnyNhxiBEquOoyYx3A/9CmgZimT0+SI6cdcPRFG DgEy4c3oeVRC8nRMYP+3j8CP88rgQvrdrR50MjmkPqh3MURcB1eBJD0niDQYIxm5 r1ATUyncucCx6/OfFqGpA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeduledgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevufgfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpefhkeegvedtgfdvkefgffejtdekjedtkeeifeetteevvdehfeeiveef kefhfffhkeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigv lhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Jun 2024 11:34:36 -0400 (EDT) Date: Fri, 14 Jun 2024 08:34:37 -0700 From: Andres Freund To: Justin Pryzby , Nazir Bilal Yavuz CC: Alvaro Herrera , vignesh C , Michael Paquier , Andrew Dunstan , Thomas Munro , pgsql-hackers@lists.postgresql.org, Noah Misch , Anastasia Lubennikova , Tom Lane , Robert Haas , Melanie Plageman , Peter Eisentraut , Daniel Gustafsson , samay sharma Subject: Re: CI and test improvements User-Agent: K-9 Mail for Android In-Reply-To: References: <202401311059.7w5bl2ftqxaj@alvherre.pgsql> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi,=20 On June 14, 2024 8:22:01 AM PDT, Justin Pryzby wr= ote: >On Fri, Jun 14, 2024 at 05:36:54PM +0300, Nazir Bilal Yavuz wrote: >> Hi, >>=20 >> On Thu, 13 Jun 2024 at 14:56, Justin Pryzby wr= ote: >> > >> > ccache should be installed in the image rather than re-installed on e= ach >> > invocation=2E >>=20 >> ccache is installed in the Windows VM images now [1]=2E It can be used >> as 'set CC=3Dccache=2Eexe cl=2Eexe' in the Windows CI task=2E >>=20 >> [1] https://github=2Ecom/anarazel/pg-vm-images/commit/03a9225ac962fb30b= 5c0722c702941e2d7c1e81e > >Thanks=2E I think that works by using a "shim" created by choco in >C:\ProgramData\chocolatey\bin=2E > >But going through that indirection seems to incur an extra 15sec of >compilation time; I think we'll want to do something to avoid that=2E > >I'm not sure what the options are, like maybe installing ccache into a >fixed path like c:\ccache or installing a custom link, to a "pinned" >version of ccache=2E Hm=2E There actually already is the mingw ccache installed=2E The images f= or mingw and msvc used to be separate (for startup performance when using c= ontainers), but we just merged them=2E So it might be easiest to just expl= icitly use the ccache from there (also an explicit path might be faster)=2E= Could you check if that's fast? If not, we can just install the binaries d= istributed by the project, it's just more work to keep up2date that way=2E= =20 Andres=20 --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E