From 83038146b3dabb8a9f1166791e607b696e0446a3 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 12 Mar 2022 16:56:02 +0100 Subject: [PATCH] makepanda: Fix dependency problem in threaded mode This seems to happen when TargetAdd calls are specified out-of-order --- makepanda/makepanda.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index ee011366ba..849e085a15 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -6264,6 +6264,8 @@ def ParallelMake(tasklist): tasklist = extras sys.stdout.flush() if tasksqueued == 0: + if len(tasklist) > 0: + continue break donetask = donequeue.get() if donetask == 0: