What's best value for make -j

前端 未结 2 1112
无人及你
无人及你 2021-01-07 23:03

What\'s the best value of -j switch?

I usually set this up to the number of CPU/Cores available.

Thanks.

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-07 23:37

    Just measure.

    Start with the number of cores. And then add one until you feel that you get diminishing returns.

提交回复
热议问题