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>
Chris Bieneman via llvm-dev
2015-Sep-29 22:15 UTC
[llvm-dev] Building clang in llvm-3.7 on Linux with RT support enabled
We are actively working toward depreciating the autoconf build system in favor of CMake on all platforms, so it is the preferred way to build LLVM. I imagine if you look at the CMake scripts relating to the blocks runtime from before r154059, that will probably give you a good start on getting the runtime working now. If you end up with patches that make this work for you please share them as there are probably other people that will benefit from this too. Thanks, -Chris> On Sep 29, 2015, at 3:09 PM, David Lobron <dlobron at akamai.com> wrote: > > >> 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
David Lobron via llvm-dev
2015-Sep-30 20:32 UTC
[llvm-dev] Building clang in llvm-3.7 on Linux with RT support enabled
> We are actively working toward depreciating the autoconf build system in favor of CMake on all platforms, so it is the preferred way to build LLVM. > > I imagine if you look at the CMake scripts relating to the blocks runtime from before r154059, that will probably give you a good start on getting the runtime working now. If you end up with patches that make this work for you please share them as there are probably other people that will benefit from this too.Thanks! It turns out that GNUstep's version of libobjc2 has the blocks code in it, so I should be able to pick it up from there. I think I'm thus all set, but I will let you guys know if I end up creating a working patch for clang that adds blocks on Linux via cmake. Thank you again for the friendly support, 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/20150930/18008e5f/attachment.bin>