Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nu4MH-0005Cg-M3 for pgsql-hackers@arkaria.postgresql.org; Thu, 26 May 2022 03:40:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nu4MG-0003ah-HD for pgsql-hackers@arkaria.postgresql.org; Thu, 26 May 2022 03:40:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nu4MG-0003Vp-7l for pgsql-hackers@lists.postgresql.org; Thu, 26 May 2022 03:40:20 +0000 Received: from mail-il1-x136.google.com ([2607:f8b0:4864:20::136]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nu4MB-0006Wc-BC for pgsql-hackers@postgresql.org; Thu, 26 May 2022 03:40:19 +0000 Received: by mail-il1-x136.google.com with SMTP id q2so360644ils.0 for ; Wed, 25 May 2022 20:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=p+FcTGIP0u0uSqM69UpYJ6vIPNZJgshdzmDDMku/CMs=; b=IyqfvhHx+hJnbV1hxGEmSu5Yy5MOPbQcqosvCUhA3YAG6RvNAEfqv4x51vhv61ikSj TA6LHhZQt4MbXmHbHEGMPneVeFh//xldD1I2Xu8bo/ubUUNuyTfdBVn+3sz8laLaoujn B/4IDaY6tCvZ1wKEkSzGGGoiw8xCD1E0Aw6NvE7IJNJAWY4poUhQ4+PUIEqD3hu4WfIm /mb42ckUAvRA7/vadSx/w+q/IbqwArv2dB7TkiPq0oVG+5D4U2aprQ4bwy4A59Q4EPH6 rGe2O7rFkdUlv9SnoalDRvKWMU8w8foBkUs2G31RSTCuU93VFtRtDcxsHIBcFFyEyWGo DGmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=p+FcTGIP0u0uSqM69UpYJ6vIPNZJgshdzmDDMku/CMs=; b=zzoZJPADWsBrUhNHk6NvoVeQgEcrox2khOGc+4F2ddvv6fYx0uwwWJ2mOGr204S+1l Y+y2KXf/sWegqi5iDrq+7NM4CkpPKIrF6o0yBszPfeHZYFt+HAZrXQvh5oSwyOeevPFD EEOwTn8vk2fSjBFM+PDBW64gwQWFx9CJTN0bGC4zNfcPhm9elY5aWK46XYX9OgrN6ZSi EJON1c76y7ItPgKfKcrIVq+vk7qQEVGb7b//uEBH0mYKBrVmraoPbelHuzz+ZiNS5/Ly mS7mA/CozEHUxT+XOlezsnubGCKqYbGMPSJj5HG+y1yKrNdjWJZ1SznMgh+cw3xgYTYK ZbYQ== X-Gm-Message-State: AOAM531XgT2Ai7ZoG0LBIRIOs6iB6E0peN4COYYia1pLwLCMMrgByakp D/0Wf2u06YwYOmGaHUZaXLeBPQ== X-Google-Smtp-Source: ABdhPJwgPULyChCPdA9Z4F1Bn1AQeRe+hrycEAOaIoP5pO6GZKk7k9wc4Lvmz3z4iw8hZIih4OhVtg== X-Received: by 2002:a05:6e02:1487:b0:2d1:a6d7:f6c5 with SMTP id n7-20020a056e02148700b002d1a6d7f6c5mr10218996ilk.298.1653536414558; Wed, 25 May 2022 20:40:14 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id w3-20020a029683000000b0032e7d0a79basm139476jai.158.2022.05.25.20.40.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 May 2022 20:40:14 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 292E78008F8; Wed, 25 May 2022 22:40:13 -0500 (CDT) Date: Wed, 25 May 2022 22:40:13 -0500 From: Justin Pryzby To: Andres Freund Cc: Tom Lane , Robert Haas , Andrew Dunstan , pgsql-hackers@postgresql.org, Thomas Munro , Melanie Plageman , Peter Eisentraut , Daniel Gustafsson Subject: Re: ccache, MSVC, and meson Message-ID: <20220526034012.GX19626@telsasoft.com> References: <20220522232606.GZ19626@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220522232606.GZ19626@telsasoft.com> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, May 22, 2022 at 06:26:06PM -0500, Justin Pryzby wrote: > ccache 4.6.1 was released which allows compiling postgres 4.6.1 is now in choco. This is required to use with the current msbuild process. > But with the existing build system, it's no faster anyway, I guess due to poor > use of parallelism. > https://cirrus-ci.com/task/5972008205811712 Actually, it cuts the msbuild compilation time in half [0] (which is not impressive, but also not nothing). cache misses are slower, though. https://cirrus-ci.com/task/5926287305867264 [0] My compiled ccache may have been a non-optimized build... I don't know how to do make this work for msbuild without naming the binary something other than ccache. Maybe that's fine, but better done on the OS image, rather than in the CI config.