GafferHQ / gaffer

Gaffer is a node-based application for lookdev, lighting and automation
http://www.gafferhq.org
BSD 3-Clause "New" or "Revised" License
964 stars 207 forks source link

Update Windows build chain to MSVC 2022 #5490

Closed ericmehl closed 2 months ago

ericmehl commented 1 year ago

This will keep us up to date with the VFX reference platform, and it should fix a bug MSVC introduces causing some disk partition types to not be usable : https://groups.google.com/g/gaffer-dev/c/zuAhqDFIl50

It will also hopefully allow useful ASan builds on Windows. Currently something in TBB causes ASan to error at startup, but recent MSVC 2022 builds have added the ability to continue on errors and collect a list of them after running.

johnhaddon commented 1 year ago

Do you think it'd be reasonable to get this in for 1.4, @ericmehl?

ericmehl commented 1 year ago

Yeah, I think it should be possible. Hard to know with MSVC, but the transition to 2019 wasn't too bad.

boberfly commented 3 months ago

I was successful in building Gaffer with VS2022 MSVC 14.3, it wasn't many patches but I can upstream them - it was mostly making MSVC_VERSION configurable for SCons and a few warning suppressors.

johnhaddon commented 3 months ago

Maybe we can aim to get this done for 1.5 @ericmehl?

ericmehl commented 3 months ago

Yeah, we're overdue for updating to 2022 so prioritizing it for 1.5 would be great. @boberfly, if you want to put up a PR to GafferHQ / Dependencies, that would be a great help. I think it should target a new branch called 8_maintenance_msvc2022, based on the current names of the branches?

johnhaddon commented 2 months ago

Closing as done in #6044.