﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3963	Split C source code in more files for more efficient parallel compilation	Francesco Casella	Lennart Ochel	"The MSL and ScalableTestSuite coverage logs

https://test.openmodelica.org/libraries/ModelicaTest_trunk/BuildModelRecursive.html

https://test.openmodelica.org/libraries/ScalableTestSuite_Experimental/BuildModelRecursive.html

reveal that the C compile time is always a significant fraction of the overall build time, and in many cases the bottleneck of the entire process.

Recently, the large header file that prevented the splitting of the C source files into much smaller chunks was removed by Martin S., but the number of C files is still the same. We should avoid very large files and split them into a larger number of smaller ones, e.g. by putting an upper bound to the number of functions contained in each .c file.

I guess the effort/gain ratio of this improvement would be extremely high, even if a comparatively crude splitting strategy was undertaken. Any volunteers?

Thanks!

"	enhancement	new	high		Code Generation				
