[llvm] Reapply: [lit] Avoid multiprocessing for -j1 runs (PR #179824)
Henrik G. Olsson via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 14 11:19:26 PST 2026
================
@@ -436,8 +436,11 @@ def killProcessAndChildren(pid):
for child in children_iterator:
try:
child.kill()
- except psutil.NoSuchProcess:
+ except psutil.Error:
----------------
hnrklssn wrote:
The only subtypes of Error are NoSuchProcess, AccessDenied and TimeoutExpired, so this change looks fine to me. Do we want to emit a note or warning when this happens?
https://github.com/llvm/llvm-project/pull/179824
More information about the llvm-commits
mailing list