Re: [android-building] Generate external/llvm Intrinsics.gen and Attributes.inc on android10

2020-03-30 Thread Paschalis Mpeis
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

Re: [android-building] Generate external/llvm Intrinsics.gen and Attributes.inc on android10

2020-03-17 Thread Paschalis Mpeis
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

Re: [android-building] Generate external/llvm Intrinsics.gen and Attributes.inc on android10

2020-03-03 Thread Paschalis Mpeis
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

Re: [android-building] Generate external/llvm Intrinsics.gen and Attributes.inc on android10

2020-03-02 Thread 'Colin Cross' via Android Building
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