David Lobron via llvm-dev
2015-Sep-29 18:24 UTC
[llvm-dev] Building clang in llvm-3.7 on Linux with RT support enabled
Hi Chris and Alex, Many thanks for these replies.> I dug a little deeper into the history here. It looks like the blocks runtime hasn’t built in the CMake build system in a long time, and I don’t think it has ever been supported in the autoconf system. > > Support for building it with CMake was removed in April 2012 along with the old CMake build system (r154059) because it was broken. The old CMake support could probably be used as a base for bringing it back, but I would caution that you’re wading into seriously uncharted territory.Is there an alternative build method I could use in order to create the blocks runtime on Linux? The docs seemed to recommend cmake ('cmake -G "Unix Makefiles" ../llvm'), but I'd be more than glad to try another way. I think blocks are required for GNUstep, since it's an Objective-C runtime. Thanks, David -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2863 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150929/5d1a3294/attachment.bin>
Chris Bieneman via llvm-dev
2015-Sep-29 18:36 UTC
[llvm-dev] Building clang in llvm-3.7 on Linux with RT support enabled
Unfortunately you’ll need to either modify the LLVM build system to build it, or you’ll need to build it yourself by hand. We don’t currently support building the blocks runtime. I’m guessing the Docs are about 3 years out of date. You can feel free to file a bug at https://llvm.org/bugs/ <https://llvm.org/bugs/>, but I don’t know when it will be addressed, ant it is unlikely we will back port it to 3.7. -Chris> On Sep 29, 2015, at 11:24 AM, David Lobron <dlobron at akamai.com> wrote: > > Hi Chris and Alex, > > Many thanks for these replies. > >> I dug a little deeper into the history here. It looks like the blocks runtime hasn’t built in the CMake build system in a long time, and I don’t think it has ever been supported in the autoconf system. >> >> Support for building it with CMake was removed in April 2012 along with the old CMake build system (r154059) because it was broken. The old CMake support could probably be used as a base for bringing it back, but I would caution that you’re wading into seriously uncharted territory. > > Is there an alternative build method I could use in order to create the blocks runtime on Linux? The docs seemed to recommend cmake ('cmake -G "Unix Makefiles" ../llvm'), but I'd be more than glad to try another way. I think blocks are required for GNUstep, since it's an Objective-C runtime. > > Thanks, > > David-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150929/86da2919/attachment.html>
David Lobron via llvm-dev
2015-Sep-29 22:09 UTC
[llvm-dev] Building clang in llvm-3.7 on Linux with RT support enabled
> Unfortunately you’ll need to either modify the LLVM build system to build it, or you’ll need to build it yourself by hand. We don’t currently support building the blocks runtime.Thanks! I'm working on a modified build now. Out of curiosity: is cmake still the preferred way to build on Linux? You mentioned that the doc is out-of-date, so I thought perhaps there might be a newer way to do it. Thank you again, David -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2863 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150929/2014876f/attachment.bin>
Reasonably Related Threads
- Building clang in llvm-3.7 on Linux with RT support enabled
- Building clang in llvm-3.7 on Linux with RT support enabled
- Building clang in llvm-3.7 on Linux with RT support enabled
- Building llvm so it can be installed by other users
- Building llvm so it can be installed by other users