When I try to compile a UE5 project, the compiler uses number of cores == actions.
I’m trying to change the BuildConfiguration.xml in the user folder but that doesn’t help.
BuildConfigurations:
<MaxParallelActions>12</MaxParallelActions>
</BuildConfiguration>
<ParallelExecutor>
<MaxProcessorCount>12</MaxProcessorCount>
<ProcessorCountMultiplier>2</ProcessorCountMultiplier>
</ParallelExecutor>
I have 6 physical processor cores, 12 logical cores.
How to use all CPU cores when compiling a project?
If you try to compile a UE4 project, the compiler will always use all cores with the same BuildConfiguration.xml settings
UE4:
20:55:15 Building E:\UE projects\ShootThemUp\Intermediate\ProjectFiles\ShootThemUp.vcxproj
0>D:\UE\UE_4.27\Engine\Build\BatchFiles\Build.bat ShootThemUpEditor Win64 Development -Project=“E:\UE projects\ShootThemUp\ShootThemUp.uproject” -WaitMutex -FromMsBuild
0>Using ‘git status’ to determine working set for adaptive non-unity build (E:\UE projects\ShootThemUp).
0>Building ShootThemUpEditor…
0>Using Visual Studio 2022 14.31.31107 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103) and Windows 10.0.19041.0 SDK (C:\Program Files (x86) \Windows Kits\10).
0>[Adaptive unity build] Excluded from ShootThemUp unity file: STUBaseCharacter.cpp, STUPlayerCharacter.cpp
0>Building 5 actions with 12 processes…
UE5:
20:55:30 Building E:\UE projects\Ace\Intermediate\ProjectFiles\Ace.vcxproj
0>D:\UE\UE_5.0\Engine\Build\BatchFiles\Build.bat AceEditor Win64 Development -Project=“E:\UE projects\Ace\Ace.uproject” -WaitMutex -FromMsBuild
0>Using bundled DotNet SDK
0>Log file: C:\Users\vlads\AppData\Local\UnrealBuildTool\Log.txt
0>Using ‘git status’ to determine working set for adaptive non-unity build (E:\UE projects\Ace).
0>Building AceEditor…
0>Using Visual Studio 2022 14.31.31107 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103) and Windows 10.0.19041.0 SDK (C:\Program Files (x86) \Windows Kits\10).
0>[Adaptive Build] Excluded from Ace unity file: AceHealthComponent.cpp, AceWeaponComponent.cpp, AceBaseCharacter.cpp, AcePlayerCharacter.cpp, AceBaseWeapon.cpp
0>Building 4 actions with 4 processes…