jprotze wrote: You can control the concurrency for lit specifying the number of workers. Is that not sufficient? Cannot you implement what you want without breaking the API? Just leave away the flag you don't want? https://github.com/llvm/llvm-project/pull/98270