Update win target to MSVC v145 and enable all possible Release optimizations#933
Update win target to MSVC v145 and enable all possible Release optimizations#933Babouchot wants to merge 1 commit into
Conversation
|
I mark this as draft as though it passes compilation checks on all platforms, the test suite still want to use vs2022 to compile hlc and thus fails because it is not installed by the image. So far I did not have time to troubleshoot where those VS versions are referenced to patch them. You may have an idea about that @yuxiaomao ? |
|
Makefile template are specified in haxe https://github.com/HaxeFoundation/haxe/blob/development/tests/runci/targets/Hl.hx And the vs2022 template is from hashlink https://github.com/HaxeFoundation/hashlink/tree/master/other/haxelib/templates/vs2022 |
|
Thanks for the pointer @yuxiaomao 👍 |
|
In order, we need to
|
|
I already added the vs2026 template folder in this very PR 🙂 |
|
Oh sorry I didn't check this PR content ^^' |
|
I just added it here #934 |
6bac438 to
05faa5b
Compare
|
This PR is ready but I'll need to find some time to test the new build against Shiro's game before merge ^^' |
|
No problem I understand. I've been using this version as a custom build for some time now, @trethaller did also for a week or so. But I did not test all games, so there should definitely be some more testing to it. |
|
But for information about real world numbers: in the test I did on my machine, this could yield to a ~2ms gain on CPU time in CPU intensive situations. |
This aims at enhancing the performance provided by hl.exe using latest compilers and release optimization.
see : https://devblogs.microsoft.com/cppblog/upgrading-c-projects-to-visual-studio-2026/#why-you-should-upgrade-your-c++-build-tools