[LLVMdev] git repository of the tutorial

Peng Yu pengyu.ut at gmail.com
Sat Dec 29 20:03:23 PST 2012


On Sat, Dec 29, 2012 at 7:30 PM, Journeyer J. Joh
<oosaprogrammer at gmail.com> wrote:
> Hello Peng Yu and List,
>
> I have put toy.cpp into github but it has a form of LLVM project
> makefile infrastructure. So you can build it together with LLVM
> Project source tree.
>
> git://github.com/Journeyer/klang.git
>
> There exist many branches and each branch is for each chapter of Kaleidoscope.

Hi Journeyer,

Thanks! I'm following instructions in the README. But I get the
following error when run make -j8 in llvm_obj_dir$. Do you know what
is wrong?


llvm[4]: Compiling ASTNodes.cpp for Debug+Asserts build
In file included from
/Users/py/dvcs_src/llvm/projects/klang/lib/AST/ASTNodes.cpp:15:
/Users/py/dvcs_src/llvm_obj_dir/projects/klang/../../../llvm/projects/klang/include/klang/Driver/Driver.h:23:10:
fatal error:
      'llvm/Support/IRBuilder.h' file not found
#include "llvm/Support/IRBuilder.h"
         ^
1 error generated.


-- 
Regards,
Peng



More information about the llvm-dev mailing list