On 28 May 2014 17:44, Justin Bogner <mail at justinbogner.com> wrote:> In the autoconf system, I'm pretty sure compiler-rt's build is triggered > by a Makefile in clang, tools/clang/runtime/compiler-rt/Makefile. This > Makefile comments "We currently only try to generate runtime libraries > on x86", so I guess that's the place to start if you want to get it to > build on ARM.Ha! Thanks! I was looking on the LLVM side. I'll give it a try, cheers! --renato
Hi Renato, +Alexey> If not, how hard would it be to add CMake support to ClangBuilder?Is "clang/runtime/CMakeLists.txt" what you're looking for? Specifically, LLVM_BUILD_EXTERNAL_COMPILER_RT.> tools/clang/runtime/compiler-rt/MakefileDoes anyone maintain the autotools build on compiler-rt anymore? -Greg On Wed, May 28, 2014 at 9:50 AM, Renato Golin <renato.golin at linaro.org> wrote:> On 28 May 2014 17:44, Justin Bogner <mail at justinbogner.com> wrote: >> In the autoconf system, I'm pretty sure compiler-rt's build is triggered >> by a Makefile in clang, tools/clang/runtime/compiler-rt/Makefile. This >> Makefile comments "We currently only try to generate runtime libraries >> on x86", so I guess that's the place to start if you want to get it to >> build on ARM. > > Ha! Thanks! I was looking on the LLVM side. > > I'll give it a try, cheers! > > --renato > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Hi Renato, I'm slightly out of context. What problem are you working on? On Wed, May 28, 2014 at 1:24 PM, Greg Fitzgerald <garious at gmail.com> wrote:> Hi Renato, > > +Alexey > > > If not, how hard would it be to add CMake support to ClangBuilder?> > Is "clang/runtime/CMakeLists.txt" what you're looking for? > Specifically, LLVM_BUILD_EXTERNAL_COMPILER_RT. > > > > tools/clang/runtime/compiler-rt/Makefile > > Does anyone maintain the autotools build on compiler-rt anymore? >Well, we kind of keep autotools-build of compiler-rt in a working state, but try to touch it as little as possible. For example, it doesn't (and will not) support building/running sanitizer unit- and lit-tests.> > -Greg > > On Wed, May 28, 2014 at 9:50 AM, Renato Golin <renato.golin at linaro.org> > wrote: > > On 28 May 2014 17:44, Justin Bogner <mail at justinbogner.com> wrote: > >> In the autoconf system, I'm pretty sure compiler-rt's build is triggered > >> by a Makefile in clang, tools/clang/runtime/compiler-rt/Makefile. This > >> Makefile comments "We currently only try to generate runtime libraries > >> on x86", so I guess that's the place to start if you want to get it to > >> build on ARM. > > > > Ha! Thanks! I was looking on the LLVM side. > > > > I'll give it a try, cheers! > > > > --renato > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Alexey Samsonov, Mountain View, CA -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140528/8724cfd7/attachment.html>
Hi Renato, I assume you're working on setting up the buildbot for compiler-rt on ARM. If yes, what configuration are you going to build/test there? Can you re-use SanitizerBuilder from here: https://llvm.org/svn/llvm-project/zorg/trunk/zorg/buildbot/builders/SanitizerBuilder.py? This builder is very simple and just checks-out and runs build steps from http://address-sanitizer.googlecode.com It was used to setup http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux On Wed, May 28, 2014 at 1:24 PM, Greg Fitzgerald <garious at gmail.com> wrote:> Hi Renato, > > +Alexey > > > If not, how hard would it be to add CMake support to ClangBuilder? > > Is "clang/runtime/CMakeLists.txt" what you're looking for? > Specifically, LLVM_BUILD_EXTERNAL_COMPILER_RT. > > > > tools/clang/runtime/compiler-rt/Makefile > > Does anyone maintain the autotools build on compiler-rt anymore? >Well, we kind of keep autotools-build of compiler-rt in a working state, but try to touch it as little as possible. For example, it doesn't (and will not) support building/running sanitizer unit- and lit-tests.> > -Greg > > On Wed, May 28, 2014 at 9:50 AM, Renato Golin <renato.golin at linaro.org> > wrote: > > On 28 May 2014 17:44, Justin Bogner <mail at justinbogner.com> wrote: > >> In the autoconf system, I'm pretty sure compiler-rt's build is triggered > >> by a Makefile in clang, tools/clang/runtime/compiler-rt/Makefile. This > >> Makefile comments "We currently only try to generate runtime libraries > >> on x86", so I guess that's the place to start if you want to get it to > >> build on ARM. > > > > Ha! Thanks! I was looking on the LLVM side. > > > > I'll give it a try, cheers! > > > > --renato > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Alexey Samsonov vonosmas at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140528/c0605a83/attachment.html>