https://gitlab.synchro.net/main/sbbs/-/commit/0d6e4b2e88cfdac416510bbb
Modified Files:
src/Directory.Build.props
Log Message:
Compile MSVC projects with /MP, 4 compiler processes per project
Every project under src/ now compiles its source files in parallel (MultiProcessorCompilation), with CL_MPCount defaulting to 4 when nothing
else sets it. A clean Release rebuild of sbbs3.sln on a 24-thread machine:
no /MP 183s
CL_MPCount=2 111s
CL_MPCount=4 84s
The cap is low because the GitLab runner overlaps several of these builds
on one machine. Override from the command line with e.g.
"build.bat /p:CL_MPCount=8"; the Visual Studio IDE sets CL_MPCount itself.
Co-Authored-By: Claude Fable 5.2 <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net