[LLVMdev] Python requirement
Csaba Raduly
rcsaba at gmail.com
Sat Dec 18 01:28:18 PST 2010
Hi all,
I've built llvm + clang on OS X 10.4 :
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT
2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
However, make check-all fails immediately with:
Traceback (most recent call last):
File "/Users/useruser/LLVM/llvm/utils/lit/lit.py", line 4, in ?
import lit
File "/Users/useruser/LLVM/llvm/utils/lit/lit/__init__.py", line 3, in ?
from main import main
File "/Users/useruser/LLVM/llvm/utils/lit/lit/main.py", line 12, in ?
import TestRunner
File "/Users/useruser/LLVM/llvm/utils/lit/lit/TestRunner.py", line 254
out += 'Command %d: %s\n' % (i, ' '.join('"%s"' % s for s in cmd.args))
^
SyntaxError: invalid syntax
make[1]: *** [check-local-all] Error 1
make: *** [check-all] Error 2
I suspect this is because Python 2.3.5 is too old for lit. However,
there is no mention of Python in the LLVM requirements
(http://llvm.org/docs/GettingStarted.html#software).
What is the minimum level of Python ?
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
More information about the llvm-dev
mailing list