build: Increase MS Visual Studio minimum version#25472
build: Increase MS Visual Studio minimum version#25472fanquake merged 5 commits intobitcoin:masterfrom
Conversation
eae8a64 to
ef556c7
Compare
|
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. |
sipsorcery
left a comment
There was a problem hiding this comment.
Builds and passes tests for me.
I guess it would be nice to have a minimum working (breaking) example |
FWIW, disabling of Qt code removes memory usage spikes. |
|
So it has nothing to do with designated initializers, but with compiling qt code with the c++20 option? |
|
57761cf to
ae7327a
Compare
|
Concept ACK |
|
If you want to use this pull request for debugging faster, you can also delete all other tasks and assign the credits template to the windows build for immediate scheduling. |
Of course, I did it in my private Cirrus account :)
Thank you! |
|
"Curiouser and curiouser!" Just removing other CI tasks make "Win64 native [vs2022]" pass: |
|
Maybe it incorrectly uses a previous ccache? |
|
I have disabled The Another peak below 24 GB exists although. |
|
It appears, that those spikes are caused by recursive usage of @sipsorcery Is this bug familiar to you? |
Nope, I've never come across it. I only have 16GB though, so I'd guess even if I did somehow manage to replicate it my machine would crash or freeze first. |
|
tACK 1240e82. |
|
Concept ACK 1240e82 |
This change eliminates memory usage spike when compiling with Visual Studio 2022 (at least in Cirrus CI environment). Easy to review using `git diff --color-moved-ws=allow-indentation-change --color-moved=dimmed-zebra`
This change eliminates memory usage spike when compiling with Visual Studio 2022 (at least in Cirrus CI environment). Easy to review using `git diff --color-moved-ws=allow-indentation-change --color-moved=dimmed-zebra`
This change eliminates memory usage spike when compiling with Visual Studio 2022 (at least in Cirrus CI environment). Easy to review using `git diff --color-moved-ws=allow-indentation-change --color-moved=dimmed-zebra`
Visual Studio 2022 with `/std:c++20` supports designated initializers.
|
Rebased 1240e82 -> 630c171 (pr25472.06 -> pr25472.07) due to the conflict with #25500. |
|
reACK 630c171. |
|
I'm confused about this PR. If I'm reading correctly, MSVC now gets built as c++20 while other platforms are c++17. Seemingly so that we could drop our designated initializer code because it's non-standard for c++17. That seems like a huge hammer for a small problem. I suspect I'm missing something? |
I took a liberty to cross reference:
|
Visual Studio 2022 with
/std:c++20supports designated initializers.