Set numThreads to 1 by default when Python is older than 2.5.2.
authorTorok Edwin <edwintorok@gmail.com>
Fri, 19 Mar 2010 17:54:21 +0000 (17:54 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Fri, 19 Mar 2010 17:54:21 +0000 (17:54 +0000)
commit2f36fe438062801ca69785ffc8e476aa1bfa49e6
tree0b9d171840da0bfdd75cdabd6d880e173c924505
parent774ce29399364823dba62217ebf7bc8701005140
Set numThreads to 1 by default when Python is older than 2.5.2.

Python 2.4 always hits this bug: http://bugs.python.org/issue1731717
when running check-lit on multi-core systems.
Setting numThreads to 1 makes it slower, but at least the results reported are
correct.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98969 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/lit.py