forked from OSchip/llvm-project
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. llvm-svn: 193465
This commit is contained in:
parent
6c5dbd7a0a
commit
54d210b205
|
@ -218,6 +218,7 @@ class Run(object):
|
|||
consumer = MultiprocessResultsConsumer(self, display, jobs)
|
||||
except ImportError:
|
||||
# Workaround for BSD: http://bugs.python.org/issue3770
|
||||
self.lit_config.note('failed to initialize multiprocessing')
|
||||
consumer = None
|
||||
if not consumer:
|
||||
task_impl = threading.Thread
|
||||
|
|
Loading…
Reference in New Issue