llvm.org GIT mirror llvm / 59b8e04
Attempt to fix the FreeBSD build, disable multiprocessing Speculative quick fix based on clang-X86_64-freebsd output: File "/usr/local/lib/python2.6/multiprocessing/synchronize.py", line 33, in <module> " function, see issue 3770.") ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193457 91177308-0d34-0410-b5e6-96231b3b80d8 Alp Toker 5 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
110110 def main(builtinParameters = {}):
111111 # Use processes by default on Unix platforms.
112112 isWindows = platform.system() == 'Windows'
113 useProcessesIsDefault = (not isWindows) and platform.system() != 'OpenBSD'
113 # multiprocessing is broken on various BSD Python versions: http://bugs.python.org/issue3770
114 useProcessesIsDefault = (not isWindows) and ('BSD' not in platform.system())
115116 global options
116117 from optparse import OptionParser, OptionGroup