[llvm-commits] [PATCH] Add OpenCL support to makefile system

Daniel Dunbar daniel at zuster.org
Mon Nov 15 14:22:42 PST 2010


Hi Peter,

I've never been really happy about KLEE using the LLVM Makefiles, I
think we should probably find a way to solve this wholly on the KLEE
side (even if it means just cloning all of the existing LLVM Makefiles
to start with).

Not very fun work, I know...

 - Daniel

On Mon, Nov 15, 2010 at 1:57 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
> On Mon, Nov 15, 2010 at 01:18:28PM -0800, Tanya Lattner wrote:
>> Peter,
>>
>> Can you explain a little bit more about your intentions with these changes?
>>
>> To me, it seems like your runtime library should have its own separate build system and not rely on LLVM Makefiles. I do not think we would ever want to ship a OpenCL runtime library with LLVM.
>
> Hi Tanya,
>
> The OpenCL runtime library I am working on is an extension of another
> project (KLEE) which uses the LLVM makefile system, and the easiest
> way forward for me was to build the kernel runtime library using the
> existing build system.
>
> The second patch is really optional, as I was able to copy the .cl ->
> .ll rule (which is all I need) to my runtime library makefile and use
> it there without the patch, but the first patch makes it easier to
> integrate support for new languages (either internally or externally).
>
> Thanks,
> --
> Peter
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



More information about the llvm-commits mailing list