[cfe-dev] Is there a way to let the AST matcher run on multiple files in parallel?

Manuel Klimek klimek at google.com
Wed Jul 22 03:33:03 PDT 2015


You can use
a) a compilation database
b) find . -name '*.cc' |xargs -n1 -P32
depending on the output data you want to produce, you'll need to pass an
additional flag to your tool to get the shard number...

On Tue, Jul 21, 2015 at 6:20 PM Han Wang <wanghan02 at gmail.com> wrote:

> Hi all,
>
> Is there a way to let the AST matcher run on multiple files in parallel?
> I'm working on Mac. I have some old windows code which may slow down the
> compiling time (maybe for some other reasons I don't know exactly). So this
> makes it necessary for me to analyze each translation unit in parallel.
>
> At the moment I have only one mac which has 32 cores. I can live with that
> if it could be fully parallel.
>
> Thanks!
> Best regards,
> Han
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150722/cd59c256/attachment.html>


More information about the cfe-dev mailing list