observed here at the tinderbox Ninja is called fine AFAICT: ─ninja,16277 -v -j1 -l0 check-clang but the "lit" processes are counted up to 12 (the # of cpu here) - see attached pstree. The tinderbox sets the appropriate options : https://github.com/toralf/tinderbox/blob/master/bin/setup_img.sh#L409
Created attachment 510968 [details] concurrent.issue pstree
Checking old bugs, is this still happening as this seemed to be something in clang itself? With plain system, MAKEOPTS gets honored (with -j1 I only see one cc1obj process max, and more with higher value)