I've eventually made this work. My last issue was due to the target
*libLLVM_android* being only available for host architectures (linux/darwin
x86).
I made another target just for Android, and it did work, but since llvm
version was too old (3.8 in particular), including those c++11 headers in
Hi again,
I hope everybody is doing well given these days' circumstances!
I have a follow-up question on my previous attempts to use LLVM.
What I want is to include *libLLVM_android* on l*ibart-compiler* and use it
on an arm64 device (sailfish) in particular.
Now, I can successfully compile
Thanks a lot Colin for taking the time to read through my message and reply.
I ended up using Android.bp files as you suggested.
Since all these tools were dropped from building in android10, I though
they were never converted to blueprint files.
It turns out commit 7623033 had them, and with
Those files are generated by the llvm_tblgen modules in
external/llvm/Android.bp. You'll find their outputs at:
out/soong/.intermediates/external/llvm/llvm-gen-attributes/gen/llvm/IR/Attributes.inc
out/soong/.intermediates/external/llvm/llvm-gen-intrinsics/gen/llvm/IR/Intrinsics.gen
As a hack