[llvm-dev] cmake configuration changes to build Kaleidoscope outside of llvm examples src tree

Chris Bieneman via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 29 20:09:34 PDT 2016


The LLVM documentation describes the recommended build process:

http://llvm.org/docs/GettingStarted.html

Adding "-DLLVM_BUILD_EXAMPLES=On" enables building the example projects.

-Chris

> On Aug 29, 2016, at 7:52 PM, GangRyung Uh <gangryunguh at gmail.com> wrote:
> 
> Can you advise some recommendable build configuration?
> 
> Thanks,
> Gang-Ryung
> 
>> On Mon, Aug 29, 2016 at 6:31 PM, Chris Bieneman <beanz at apple.com> wrote:
>> A lot. The examples are not designed to be built in this way, and it is not advised. If you go down that path you are way off in uncharted territory, and shouldn’t expect much help.
>> 
>> -Chris
>> 
>> > On Aug 28, 2016, at 8:13 PM, GangRyung Uh via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>> >
>> > I try to understand cmake build configuration. As an example, I copied Kaleidoscope from llvm examples to some other directory (e.g., /tmp/Kaleidoscope). What change(s) that I need to make to "CMakkeLists.txt" in order to build Kaleidoscope from /tmp/Kaleidoscope?
>> >
>> > Thank you.
>> > _______________________________________________
>> > LLVM Developers mailing list
>> > llvm-dev at lists.llvm.org
>> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160829/e7705979/attachment.html>


More information about the llvm-dev mailing list