4 ms·
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 un
by almostgotcaught 1y 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).
- Culonavirus 1y agoAt least 10M (from what I remember, maybe more now)
- maccard 1y agoThe build tool groups files into a roughly equivalent size based on file length, and dispatches compiles those in parallel.
- almostgotcaught 1y agohow many groups do people usually use to get a fast build (alternatively what is the group size)?
- maccard 1y agoIt’s about 300kb before pre processor expansion by default. I’ve never changed it.