Talking about ideas for further extending the impact of UNIFIED_SOURCES, it
seems that the biggest limitation at the moment is that sources can't be
unified between different moz.build's. Because of that, source directories
that consist of many small sub-directories do not benefit much from
UNIFIED_SOURCES at the moment. I would love to have the ability to declare
in a moz.build that UNIFIED_SOURCES from here downwards, including
subdirectories, are to be unified with each other. Does that sound
reasonable?

Benoit


2013/11/20 Chris Peterson <cpeter...@mozilla.com>

> On 11/19/13, 10:08 PM, Gregory Szorc wrote:
>
>> And 24 hours later, m-c (4f993fa378eb) is getting faster:
>>
>> Wall   8:47  (527)
>> User  52:41 (3161)
>> Sys    4:38  (278)
>> Total 57:19 (3439)
>>
>
> Unified builds currently coalesce source files in batches of 16.
>
> It might be useful to add a files_per_unified_file parameter to mozconfig
> or mach build. People could benchmark different values of
> files_per_unified_file (trading off clobber vs incremental build times).
> The same parameter could also be used to disable unified builds with
> files_per_unified_file = 1.
>
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to