sourcegraph / lsif-clang

Language Server Indexing Format (LSIF) generator for C, C++ and Objective C
https://lsif.dev/
34 stars 8 forks source link

Add the '--jobs' flag to control max threads #79

Closed jlisee closed 2 years ago

jlisee commented 2 years ago

This tells the executor doing the indexing the maximum number of threads it can use instead of auto-detecting it.

Test plan

TODO run the tool with --jobs=1 and --jobs=4 and verify concurrency level.

varungandhi-src commented 2 years ago

I've created a PR cherry-picking this and making some minor tweaks. https://github.com/sourcegraph/lsif-clang/pull/81