llvm.org GIT mirror llvm / a685c13
lit: Issue a note when multiprocessing fails to load If multiprocessing was requested, detected as available and subsequently failed to initialize it's worth letting the user know about it before falling back to threads. This condition can arise in certain OpenBSD / FreeBSD Python versions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193465 91177308-0d34-0410-b5e6-96231b3b80d8 Alp Toker 5 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
217217 consumer = MultiprocessResultsConsumer(self, display, jobs)
218218 except ImportError:
219219 # Workaround for BSD: http://bugs.python.org/issue3770
220 self.lit_config.note('failed to initialize multiprocessing')
220221 consumer = None
221222 if not consumer:
222223 task_impl = threading.Thread