diff options
author | Alp Toker <alp@nuanti.com> | 2013-10-26 02:43:08 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-10-26 02:43:08 +0000 |
commit | 59b8e0419ce873f62df0cc1fd14d193d7b63f8a5 (patch) | |
tree | 727d2f790d0b6ac73cc0df34e8f52da7be17c01b /utils/lit | |
parent | 4d4bbaf997c16f9e79503bd640306d784efd090e (diff) | |
download | external_llvm-59b8e0419ce873f62df0cc1fd14d193d7b63f8a5.zip external_llvm-59b8e0419ce873f62df0cc1fd14d193d7b63f8a5.tar.gz external_llvm-59b8e0419ce873f62df0cc1fd14d193d7b63f8a5.tar.bz2 |
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
Diffstat (limited to 'utils/lit')
-rwxr-xr-x | utils/lit/lit/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/lit/lit/main.py b/utils/lit/lit/main.py index 44042a3..9754f2f 100755 --- a/utils/lit/lit/main.py +++ b/utils/lit/lit/main.py @@ -111,7 +111,8 @@ def write_test_results(run, lit_config, testing_time, output_path): def main(builtinParameters = {}): # Use processes by default on Unix platforms. isWindows = platform.system() == 'Windows' - useProcessesIsDefault = (not isWindows) and platform.system() != 'OpenBSD' + # multiprocessing is broken on various BSD Python versions: http://bugs.python.org/issue3770 + useProcessesIsDefault = (not isWindows) and ('BSD' not in platform.system()) global options from optparse import OptionParser, OptionGroup |