Comment by almostgotcaught
7 hours ago
How many LOC is unreal? I'm trying to estimate whether making LLVM compatible with UNITY_BUILD would be worth the effort.
EDIT: i signed up to get access to unreal so take a look at how they do unity builds and turns out they have their own build tool (not CMake) that orchestrates the build. so does anyone know (can someone comment) whether unity builds for them (unreal) means literally one file for literally all project sources files or if it's "higher-granularity" like UNITY_BUILD in CMake (i.e., single file per object).
The build tool groups files into a roughly equivalent size based on file length, and dispatches compiles those in parallel.
how many groups do people usually use to get a fast build (alternatively what is the group size)?
At least 10M (from what I remember, maybe more now)