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 Issue 9098: MSYS build fails with `S_IXGRP' undeclared - Python tracker).

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

Hi Yuri!

Thanks!
I got msi based installer (3.2) from Download Python | Python.org.
But llvm build now fails with this message:
  File "<string>", line 1
     import sys;print ' '.join(sys.argv[1:])
                        ^

Syntax error: invalid syntax

Yuri

print is now a function Python 3, so you probably want the latest of the
2.x series.

Good luck :slight_smile: