[llvm-dev] No Makefile.common or Makefile.config after building LLVM/clang

Roel Jordans via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 18 00:59:47 PDT 2016


Hi Ammar,

That part of the documentation seems to be outdated.  We've deprecated 
the Makefile based build system in 3.9 and now only use CMake.  You can 
skip the Makefile bits of that description (though you might need to add 
the appropriate CMakeListis.txt file)

You might also want to check the last LLVM conference at 
http://llvm.org/devmtg/2015-10/ it has a slide set and video with a 
tutorial about building your own pass.

Cheers,
  Roel

On 18/03/16 03:22, Ammar Naqvi via llvm-dev wrote:
> Hello Everyone,
> I'm new to LLVM development and I'm trying to get the Hello Pass
> tutorial working ( http://llvm.org/docs/WritingAnLLVMPass.html )
>
> I have followed these instructions to get llvm,clang, clang extras and
> compiler-rt ( http://clang.llvm.org/get_started.html )
>
> Then I build and install using cmake since make and config is no longer
> supported ( http://llvm.org/docs/CMake.html )
>
> After all the make,cmake build and cmake install is done, i have no
> makefile.common or makefile.config files to be found anywhere on my PC
> which are required to run the pass.
>
> Also, i'm building on Ubuntu 14.04, clang version 3.9, LLVM 3.4.
>
> Please point me in the right direction, TIA :)
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>


More information about the llvm-dev mailing list