Browse Source

makepanda: Fix dependency problem in threaded mode

This seems to happen when TargetAdd calls are specified out-of-order
rdb 3 years ago
parent
commit
83038146b3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      makepanda/makepanda.py

+ 2 - 0
makepanda/makepanda.py

@@ -6264,6 +6264,8 @@ def ParallelMake(tasklist):
             tasklist = extras
             tasklist = extras
         sys.stdout.flush()
         sys.stdout.flush()
         if tasksqueued == 0:
         if tasksqueued == 0:
+            if len(tasklist) > 0:
+                continue
             break
             break
         donetask = donequeue.get()
         donetask = donequeue.get()
         if donetask == 0:
         if donetask == 0: