Yuri
2011-Jun-11 15:49 UTC
[LLVMdev] llvm fails on MinGW-32 (Windows) because Python is not supported there
This page says that llvm works on MinGW: http://llvm.org/docs/GettingStarted.html I tried to build llvm trunk. llvm build now requires Python: llvm[2]: Creating 'llvm-lit' script... /bin/sh: python: command not found And current stable python version (3.2) doesn't even build on MinGW (see http://bugs.python.org/issue9098). What is the solution on MinGW? Maybe Python was introduced into llvm later without thinking about MinGW? I think llvm developers should setup an automated nightly build of llvm on all officially supported platforms, so that such failures of certain platforms will be visible on daily basis. With modern virtualization environments it should be possible to do this even on just one computer. Yuri
Csaba Raduly
2011-Jun-11 16:32 UTC
[LLVMdev] llvm fails on MinGW-32 (Windows) because Python is not supported there
Hi Yuri! On Sat, Jun 11, 2011 at 5:49 PM, Yuri wrote:> This page says that llvm works on MinGW: > http://llvm.org/docs/GettingStarted.html > I tried to build llvm trunk. llvm build now requires Python: > llvm[2]: Creating 'llvm-lit' script... > /bin/sh: python: command not found > > And current stable python version (3.2) doesn't even build on MinGW (see > http://bugs.python.org/issue9098). > > What is the solution on MinGW?There are various precompiled Windows binaries for Python (yes, even 3.2), from http://www.python.org/download/ or http://www.activestate.com/activepython-3 Hope this helps, Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. 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
Yuri
2011-Jun-11 17:01 UTC
[LLVMdev] llvm fails on MinGW-32 (Windows) because Python is not supported there
On 06/11/2011 09:32, Csaba Raduly wrote:> There are various precompiled Windows binaries for Python (yes, even > 3.2), from http://www.python.org/download/ or > http://www.activestate.com/activepython-3 >Thanks! I got msi based installer (3.2) from http://www.python.org/download/. But llvm build now fails with this message: File "<string>", line 1 import sys;print ' '.join(sys.argv[1:]) ^ Syntax error: invalid syntax Yuri
Apparently Analagous Threads
- [LLVMdev] llvm fails on MinGW-32 (Windows) because Python is not supported there
- [LLVMdev] llvm fails on MinGW-32 (Windows) because Python is not supported there
- [LLVMdev] Executable file size comparison
- [LLVMdev] Executable file size comparison
- [LLVMdev] Test failures