[LLVMdev] Build Clang and LLVM on Win 8

Reid Kleckner
2013-07-22T00:11:17Z

On Sun, Jul 21, 2013 at 5:51 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:

> Giorgio Franceschetti <g.franceschetti at vidya.it> writes:
>
> > When I run cmake I got The following error:
> > *<project folder>\build>CMake -G "CodeBlocks - MinGW
Makefiles" ..\llvm*
> > /-- Could NOT find LibXml2 (missing:  LIBXML2_LIBRARIES
> > LIBXML2_INCLUDE_DIR)//
> > //-- Target triple: x86_64-w64-mingw32//
> > //-- Native target architecture is X86//
> > //-- Threads enabled.//
> > //-- Found PythonInterp: C:/Python33/python.exe (found version
"3.3.2")//
> > //-- Constructing LLVMBuild project information//
> > //CMake Error at CMakeLists.txt:299 (message)://
> > //  Unexpected failure executing llvm-build: Traceback (most recent
> > call last)://
>
> I think that you installed the wrong version of Python. IIRC llvm-build
> requires Python 2.X
>

There was a patch on the commit list to try to make some of our scripts
work for both 2 and 3.  I should dig it up and review it.

My initial impression was that still probably nobody uses python 3, so it's
not worth adding support that will break.  But if users actually have
python 3, maybe it's worth it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20130721/980668b5/attachment.html>