File mozilla-reduce-files-per-UnifiedBindings.patch of Package MozillaFirefox.11699

# HG changeset patch
# User Andreas Stieger <astieger@suse.com>
# Date 1456503609 0
#      Fri Feb 26 16:20:09 2016 +0000
# Node ID 35755b37907016bd083dc8c97909b653b881477e
# Parent  915b8f465b5116925a979676ca3729d284718b7a
For UnifiedBindings*.cpp files, reduce number of files per unified file
Upstream: no
home/abuild/rpmbuild/BUILD/obj/dom/bindings/UnifiedBindings16.cpp
[ 1589s] UnifiedBindings17.o
[ 1612s] [ 1567.621989] Out of memory: Kill process 19849 (cc1plus) score 170 or sacrifice child
[ 1612s] [ 1567.625099] Killed process 19849 (cc1plus) total-vm:905704kB, anon-rss:102500kB, file-rss:156kB
[ 1616s] {standard input}: Assembler messages:
[ 1616s] {standard input}:316015: Warning: end of file not at end of a line; newline inserted
[ 1635s] {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
[ 1636s] c++: internal compiler error: Killed (program cc1plus)
[ 1636s] Please submit a full bug report,

diff -r 915b8f465b51 -r 35755b379070 python/mozbuild/mozbuild/frontend/data.py
--- a/python/mozbuild/mozbuild/frontend/data.py	Wed Jun 19 08:35:17 2019 +0200
+++ b/python/mozbuild/mozbuild/frontend/data.py	Fri Feb 26 16:20:09 2016 +0000
@@ -315,7 +315,7 @@
         return list(group_unified_files(self.all_regular_cpp_basenames(),
                                         unified_prefix='UnifiedBindings',
                                         unified_suffix='cpp',
-                                        files_per_unified_file=32))
+                                        files_per_unified_file=16))
 
     def all_source_files(self):
         from mozwebidlcodegen import WebIDLCodegenManager