[cfe-dev] Building LLVM/Clang

Omid Ghenatnevi via cfe-dev cfe-dev at lists.llvm.org
Mon Nov 2 07:52:52 PST 2015


Hello everyone,

I am having trouble trying to build LLVM/Clang.

Here's the steps I followed:

mkdir static_analysis
cd static_analysis


   - svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
   - cd llvm/tools
   - svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
   - cd ../..
   - cd llvm/tools/clang/tools
   - svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra
   - cd ../../../..
   - cd llvm/projects
   - svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt
   - cd ../..

Now that I am back in top level directory I issued the "make" cmd and this
is what I get:

make: *** No targets specified and no makefile found. Stop.

I also tried issuing "make" cmd from llvm directory:
$ cd static_analysis/LLVM/
$ make

and this is what I get:
Makefile:44: Makefile config: No such file or directory
Makefile:151: /Makefile.rules: No such file or directory
make: *** No rule to make target `/Makefile.rules'. Stop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151102/0a960088/attachment.html>


More information about the cfe-dev mailing list