Re: Cirrus CI (Windows help wanted)
Justin Pryzby <pryzby@telsasoft.com>
From: Justin Pryzby <pryzby@telsasoft.com>
To: Andres Freund <andres@anarazel.de>
Cc: Andrew Dunstan <andrew@dunslane.net>, Thomas Munro <thomas.munro@gmail.com>, pgsql-hackers@postgresql.org, pgsql-hackers@lists.postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-08-19T01:17:09Z
Lists: pgsql-hackers
On Thu, Aug 18, 2022 at 06:09:39PM -0700, Andres Freund wrote: > > But look: https://cirrus-ci.com/task/4953593575899136 > > Why is the build phase so slow in that image? 12min? That's way slower than > the windows builds normally. Because I'd just rebased it, and it's using ccache, which I mentioned is several times slower for cache misses, and only ~50% faster for cache hits :( 20220701191841.GH13040@telsasoft.com There's a patch to use depend mode, which would make cache misses less expensive. > > => I installed most of the goodies, but deferred running the installers until > > the image is run, and it starts just as quickly. It has to run the installer > > each time, rather than once when building the image. That's crummy, but it's > > still 1-2 minutes faster than now. Maybe for some of those, it's not needed to > > run an installer at all. (Like if the installer can be extracted into > > c:\programfiles). > > I am strongly against that. For one, the amount of traffic that causes with > the software providers is substantial. For another, the failure rates of > downloading stuff every time are quite high. I think you misunderstood. The installers are *retrieved* when the image is built, and zipfiles are extracted. But for .exes, the installation is deferred until the image is run. -- Justin
Commits
-
Use unnamed POSIX semaphores on Cygwin.
- f2857af485a0 16.0 landed
-
meson: Basic cygwin support
- 79f7c482f674 16.0 landed
-
meson: Mark PROVE as not required
- ab72a31f6cc5 16.0 landed