Repository navigation
ci: Build and cache static Qt instead of downloading a pre-built one - #22899
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Concept ACK from me. I wouldn't be upset if I never need to build Qt again. 13 minutes is a very fast build time. Either the CirrusCI machine is extremely powerful or I have been doing something very wrong. Windows Qt builds have always taken me multiple hours. [Update: Probably because my Qt build was using |
f7a0b90 to
634c457
Compare
|
Rebased on top of #21551, and is ready for reviewing 🐅 |
|
utACK 3a68546. I've tested the Qt and subsequent Bitcoin Core builds work. I don't have a CirrusCI set up so haven't tested that. |
This PR makes the MSVC build CI task free of pre-built static Qt binaries. It uses the approach which is documented in #22890.
It takes about 13 minutes to build a static Qt dependency (for 8 CPUs):
with the maximum total time:
There is an additional benefit of this PR. It is no longer required to build a new static Qt package when a CI Windows image upgrades its building tools, and breaks the compatibility with the recent Qt package.