[CMake] Memory usage and configuration time for large project
Patrick E Gartung
gartung at fnal.gov
Mon Apr 30 17:44:08 EDT 2018
Hi,
We have a large c/c++/fortran project, CMSSW, that is built with a custom tool, scram.
https://github.com/cms-sw/cmssw
The project might move to a cmake based build in the future. The scripts to convert to CmakeLists.tx has been written
https://github.com/cms-sw/cmssw2cmake
Tests show that with the cmake files generated with this script, configuring the project uses up to 1.5GB of ram and takes 11 minutes when using -GMakefiles. Using -GNinja and using the latest cmake, this time can be reduced to 8 minutes.
The project builds 14k object files, 2.2k libraries, ~600 binaries, 500 generated source files with links to ~100 external libraries.
Is this amount of memory usage and time typical for a project of this size?
Patrick Gartung
Fermilab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2799 bytes
Desc: not available
URL: <https://cmake.org/pipermail/cmake/attachments/20180430/0ded026f/attachment.bin>
More information about the CMake
mailing list