[cfe-dev] Multi core processor and clang

Tom Prince tom.prince at ualberta.net
Sun Oct 2 19:22:19 PDT 2011


On Mon, 3 Oct 2011 03:54:37 +0200, Carl <name.is.carl at gmail.com> wrote:
> No answer ?
> I guess it means "no there is actually no way to leverage your multicore CPU
> using the clang command line" :)

Since no one else has answered:

There was some talk a year or two ago about designing some sort of build
server using clang, but I don't think anything came of it. There
certainly isn't any code in trunk to leverage multiple cores, and I am
not entirely sure how thread-safe LLVM/Clang are by default. I think
there is support for using the library from multiple threads, but I
think it boils down to using entirely seperate contexts for them.

  Tom



More information about the cfe-dev mailing list