[LLVMdev] git repository of the tutorial

Journeyer J. Joh oosaprogrammer at gmail.com
Sat Dec 29 20:45:29 PST 2012


Klang is tested with LLVM 3.1
Header file location is often changed. I guess that's why..

What version of LLVM do you use?


2012/12/30 Peng Yu <pengyu.ut at gmail.com>:
> 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



-- 
----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l  d o t  c o m
----------------------------------------



More information about the llvm-dev mailing list