4 ms·
Yeah, regular LTO, not thin LTO, isn't currently threaded. CMake uses the former.
by BearOso 3y ago
Yeah, regular LTO, not thin LTO, isn't currently threaded. CMake uses the former.
- menaerus 3y agoRight. It wasn't clear at the beginning but now I understand your point. Regular LTO (by design) doesn't support concurrency nor does it support incremental builds. OTOH ThinLTO supports both. CMake CMAKE_INTERPROCEDURAL_OPTIMIZATION variable, when set, opts in for LTO so, yes, due to LTO design you will inherently lose concurrent linkage.