[LLVMdev] LLVMdev Digest, Vol 87, Issue 17

John Criswell criswell at illinois.edu
Mon Sep 12 08:27:01 PDT 2011


On 9/10/11 6:34 PM, Peter Lawrence wrote:
>
> On Sep 10, 2011, at 10:00 AM, John Criswell wrote:
>
>> On 9/9/11 1:08 PM, Jack Howarth wrote:
>>>     Are there any plans to add CMake support to the build of
>>> SAFECode?
>>
>> No, there are no current plans to do so.  Is not having CMake support a
>> show-stopper for you?  I imagine adding support for it would be
>> straightforward.
>
>
> John,
>           I now try to use only CMake.  The last time I tried using
> "configure" (for gnu-binutils) I had such a hard time reading diagnostics
> and error messages that I ended up adding some new debugging output to
> "g-make" just to figure out what was going wrong. ARGH. I started running
> into problems using configure with llvm and clang and switched to CMake
> and didn't have any problems.

On what platform are you trying to build SAFECode, and what error 
messages are you seeing?  I can download SAFECode, run configure once 
from the top-level LLVM directory, and run make without any problems.


>   Please do a CMake for SAFECode (and if
> possible keep and publish a log of what you had to do, Oscar has done a
> good start at writing something up about CMake for llvm, but additional
> info will be welcome, and very much appreciated).

I've filed an enhancement request (PR# 10915; 
http://llvm.org/bugs/show_bug.cgi?id=10915) for adding CMake build 
support to SAFECode.  You can follow progress there.

Additionally, if others want to see CMake support added, just add a 
comment in the bug report so that I can gauge interest in the feature.  
There's numerous other things I'd like to get working with SAFECode for 
mainline LLVM, so I'm not sure where to place CMake support in my list 
of priorities.  Getting some feedback on that from the community would 
be valuable.

And, of course, patches are always welcome.
:)

-- John T.


>
>
> sincerely,
> Peter Lawrence.
>




More information about the llvm-dev mailing list