GCC/Make Build Time Optimizations

前端 未结 10 665
鱼传尺愫
鱼传尺愫 2021-02-02 01:22

We have project which uses gcc and make files. Project also contains of one big subproject (SDK) and a lot of relatively small subprojects which use that SDK and some shared fra

10条回答
  •  攒了一身酷
    2021-02-02 02:14

    If you have a LAN with developer machines, perhaps you should try implementing a distributed compiler solution, such as distcc.

    This might not help if all of the time during the build is spent analyzing dependencies, or doing some single serial task. For the raw crunch of compiling many source files into object files, parallel building obviously helps, as suggested (on a single machine) by Nathan. Parallelizing across multiple machines can take it even further.

提交回复
热议问题