[android-building] Disable host building when compiling art modules

2020-05-31 Thread Paschalis Mpeis
Is there a way to disable host building when compiling `art` modules? For example I would like to compile libart, using`m libart`, just for `arm` and `arm64` variants, but I don't want to keep compiling the `linux_glibc` version. I could disable `linux_glibc` for `libart` by adding in: art/runt

Re: [android-building] how to get compile_commands.json by mma or mm from android.mk in aosp project of android 9

2020-05-26 Thread Paschalis Mpeis
In my case SOONG_GEN_COMPDB exists (android 10), but following the instructions here did not generate the json file, unless you actually proceed with a full build (i.e., make nothing didn't produce the f

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

2020-03-30 Thread Paschalis Mpeis
do not cause any issues now. Cheers, Paschalis On Tuesday, March 17, 2020 at 7:42:16 PM UTC+2, Paschalis Mpeis wrote: > > 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. > Wha

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

2020-03-17 Thread Paschalis Mpeis
(art_target_or_host),target) # I think I am missing this part on Android.bp include $(LLVM_DEVICE_BUILD_MK) endif include $(LLVM_GEN_INTRINSICS_MK) ... Thanks in advance, Paschalis On Tuesday, March 3, 2020 at 8:41:49 PM UTC+2, Paschalis Mpeis wrote: > > Thanks a lot Coli

[android-building] Re: Modify and install dex2oat in android10 (apex issues)

2020-03-04 Thread Paschalis Mpeis
/product/ folder* 3. *build the system.img and the other images* 4. *flash everything (and wipe previous installation)* 5. *now with adb remount -R *and *adb push* I can modify the dex2oat utility On Monday, March 2, 2020 at 10:50:17 PM UTC+2, Paschalis Mpeis wrote: > > Hello, &g

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

2020-03-03 Thread Paschalis Mpeis
2bcad5271 > > You'll likely have better success building opt, llvm-link and llc using > Android.bp files than trying to get the old Android.mk files to work though. > > On Mon, Mar 2, 2020 at 12:49 PM Paschalis Mpeis > wrote: > >> Hi there, >> >> I am building som

[android-building] Modify and install dex2oat in android10 (apex issues)

2020-03-02 Thread Paschalis Mpeis
Hello, In part of my development cycle I want to be able to compile and test the *dex2oat* utility relatively easy. I am using android10-release on *sailfish*, and I am having some issues since the apex introduct

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

2020-03-02 Thread Paschalis Mpeis
Hi there, I am building some tools from *external/llvm*, specifically *opt*, *llvm-link*, and* llc*. For this, I revived the relevant Android.mk from previous commits (for each of the tools, and a relevant portion at external/llvm/Android.mk). They are normally picked up by the soong build system

Re: [android-building] Problem when including external/llvm headers in art/compiler

2016-05-04 Thread Paschalis Mpeis
=true to > rebuild the host version of libLLVM.so from source and pick up your > LOCAL_EXPORT_C_INCLUDE_DIRS. > > > On Sat, Apr 30, 2016 at 2:42 PM, Paschalis Mpeis > > wrote: > > Thanks for helping me out Colin Cross. > > >

Re: [android-building] Problem when including external/llvm headers in art/compiler

2016-05-02 Thread Paschalis Mpeis
es > > If that is still not working, post the exact command that fails with > make showcommands and the output. > > On Thu, Apr 28, 2016 at 7:40 AM, Paschalis Mpeis > > wrote: > > Problem > > I want to include the external/llvm module in the art/compiler module