VS 2026 support on old branches

Started by Andrew Dunstan18 days ago3 messageshackers
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

Greetings,

Peter E pinged me recently about the need to upgrade drongo because he was
planning to commit some stuff that would break on VS 2019. I chose to
update it to VS2026, and this promptly broke on the old branches. I've
hacked its config for now to use the older setup for 14 and 15, but that's
not very principled - and buildfarm members are supposed to use the same
compiler for all branches. If anyone wants to set up a buildfarm animal now
they will have to choose between using an older compiler (VS2022) and not
supporting all the live branches. So here's a patch (which I have tested)
that adds support for VS2026 on those old branches, pretty much in line
with what we've done before. With any luck, Microsoft won't come out with
another release until after the date our release 15 goes EOL, at which
point we will be done with this kabuki dance.

cheers

andrew

Attachments:

0001-Add-support-for-Visual-Studio-2026-in-build-scripts.patchtext/x-patch; charset=US-ASCII; name=0001-Add-support-for-Visual-Studio-2026-in-build-scripts.patchDownload+95-20
#2Andrew Dunstan
andrew@dunslane.net
In reply to: Andrew Dunstan (#1)
Re: VS 2026 support on old branches

On Tue, Jul 7, 2026 at 4:30 PM Andrew Dunstan <andrew@dunslane.net> wrote:

Greetings,

Peter E pinged me recently about the need to upgrade drongo because he was
planning to commit some stuff that would break on VS 2019. I chose to
update it to VS2026, and this promptly broke on the old branches. I've
hacked its config for now to use the older setup for 14 and 15, but that's
not very principled - and buildfarm members are supposed to use the same
compiler for all branches. If anyone wants to set up a buildfarm animal now
they will have to choose between using an older compiler (VS2022) and not
supporting all the live branches. So here's a patch (which I have tested)
that adds support for VS2026 on those old branches, pretty much in line
with what we've done before. With any luck, Microsoft won't come out with
another release until after the date our release 15 goes EOL, at which
point we will be done with this kabuki dance.

In the absence of comment, I'm intending to apply this next week.

cheers

andrew

#3Michael Paquier
michael@paquier.xyz
In reply to: Andrew Dunstan (#2)
Re: VS 2026 support on old branches

On Wed, Jul 15, 2026 at 04:48:11PM -0400, Andrew Dunstan wrote:

On Tue, Jul 7, 2026 at 4:30 PM Andrew Dunstan <andrew@dunslane.net> wrote:

Peter E pinged me recently about the need to upgrade drongo because he was
planning to commit some stuff that would break on VS 2019. I chose to
update it to VS2026, and this promptly broke on the old branches. I've
hacked its config for now to use the older setup for 14 and 15, but that's
not very principled - and buildfarm members are supposed to use the same
compiler for all branches. If anyone wants to set up a buildfarm animal now
they will have to choose between using an older compiler (VS2022) and not
supporting all the live branches. So here's a patch (which I have tested)
that adds support for VS2026 on those old branches, pretty much in line
with what we've done before. With any luck, Microsoft won't come out with
another release until after the date our release 15 goes EOL, at which
point we will be done with this kabuki dance.

In the absence of comment, I'm intending to apply this next week.

Looking at the patch, I am amazed by its simplicity. Not requiring
more tricks around locale handling is nice to see. Thanks for doing
that.
--
Michael