pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-hackers@postgresql.org, Thomas Munro <thomas.munro@gmail.com>
Cc: Melanie Plageman <melanieplageman@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Daniel Gustafsson <daniel@yesql.se>
Subject: Re: ccache, MSVC, and meson
Date: Wed, 25 May 2022 22:40:13 -0500
Message-ID: <20220526034012.GX19626@telsasoft.com> (raw)
In-Reply-To: <20220522232606.GZ19626@telsasoft.com>
References: <20220522232606.GZ19626@telsasoft.com>

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.





view thread (11+ messages)  latest in thread

Message-ID: <20220526034012.GX19626@telsasoft.com>
Permalink:  ../20220526034012.GX19626@telsasoft.com/
Also on:    postgresql.org/message-id/20220526034012.GX19626@telsasoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, andres@anarazel.de, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, andrew@dunslane.net, thomas.munro@gmail.com, melanieplageman@gmail.com, peter.eisentraut@enterprisedb.com, daniel@yesql.se
  Subject: Re: ccache, MSVC, and meson
  In-Reply-To: <20220526034012.GX19626@telsasoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox