[LLVMdev] Android build patch

Kaylor, Andrew andrew.kaylor at intel.com
Tue Nov 5 11:16:02 PST 2013


This is getting a bit off-topic, but since Renato brought up RenderScript, I wonder if the Android libbcc interface wouldn't be a cleaner way to approach this problem.  It provides more or less the same functionality as MCJIT and in almost the same way.

-Andy

From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Renato Golin
Sent: Tuesday, November 05, 2013 12:24 AM
To: James Lyon; Anton Smirnov
Cc: Compiling the Linux Kernel with Clang/LLVM; LLVM Dev
Subject: Re: [LLVMdev] Android build patch

On 4 November 2013 23:45, James Lyon <jameslyon0 at gmail.com<mailto:jameslyon0 at gmail.com>> wrote:
I'm trying to build LLVM on Android rather than the other way around! Really just to see if it can be done. I worked out the first problem (my code was written for the old JIT and I'd missed something in updating to the MCJIT to make it work on ARM). It still doesn't work, but at this point I have no idea why and it'll be a while before I get to look at it again: the Android debug tools simply crash and give no output whatsoever, so all I know is that the test app exits somewhere inside MCJIT::finalizeObject.

Ha, yes, I always get confused.

You should communicate with Anton (cc'd), as he was trying to do exactly that a few days ago. I'm also copying the LLVMLinux list, since this is the second thread on the subject in a short time, there might be some trend to make it work and add a buildbot or something like that.

I think that, on the Android front, it would be really nice to have Clang/LLVM working well, especially on the JIT front, so that we could have a more generic JIT experience, rather than just Renderscript. We should think about that when creating AOSP images in the future.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131105/12a7bc15/attachment.html>


More information about the llvm-dev mailing list