[LLVMdev] fail to compile latest llvm?

Simon Atanasyan simon at atanasyan.com
Wed Sep 17 07:14:11 PDT 2014


Hi,

Probably you get the error because you try to build LLVM in the source
code directory. Create a separate folder, cd to this folder and run
the configure script.

$ mkdir llvm-bld
$ cd llvm-bld
$ ../<llvm src>/configure --enable-targets=mips
$ make

Hope this help.

On Wed, Sep 17, 2014 at 10:40 AM, Jun Koi <junkoi2004 at gmail.com> wrote:
> I got the latest LLVM code from git repo, and tried to compile
> that on my OSX 10.9.4 machine. But I got the error at "make" step:
>
>     "Makefile:151: /Makefile.rules: No such file or directory"
>
> Below is the output of "configure" & "make". Any idea what is wrong?
>
> $ ./configure --enable-targets=mips

-- 
Simon Atanasyan



More information about the llvm-dev mailing list