[cmake-developers] ninja parallelism and LLVM cmake builds
Bill Hoffman
bill.hoffman at kitware.com
Mon Feb 10 22:34:23 EST 2014
Someone just posted this comment to one of my blogs:
(http://www.kitware.com/blog/home/post/434)
> I don’t know if CMake or Ninja (or LLVM’s build rules) are at fault
> here, but when I build Clang and LLVM under CMake and Ninja, parallelism
> often drops to zero when a static library is being linked. I understand
> that this is a place where a whole mess of parallelizable compilations
> come together, but if there are further compilations required in the
> build, shouldn’t it start working on some of those jobs during the link?
Any idea what might be going on? I am guessing there are some
add_depends between targets that are causing this.
Thoughts?
-Bill
More information about the cmake-developers
mailing list