yeah, unfortunately i'm only aware of two options, and they're both basically "throw money at the problem until it goes away":
1. get a better computer. (256 GiB of ram, 64 cores, and 2 TiB of ssd are the current default.) 2. build in the cloud. https://cs.android.com/android/platform/superproject/+/master:build/soong/docs/rbe.md has some details, but i'm not sure there's a step-by-step guide anywhere. (google actually uses _both_ together, so although i can personally vouch for "1 without 2" as useful and "1 and 2" as useful, i've never tried "2 without 1".) On Tue, Mar 14, 2023 at 8:26 AM Michael Swartout <[email protected]> wrote: > I overcame that issue, changing 18 minutes into 3 minutes now. By changing > my 24gb of memory that was only 2400mhz., into 32gb of memory at 3200mhz. > And it was unbearable for me also. Soong only analyzes after certain things > you do in the source code. For sure, after a mk or or bp file change. It > won't do it if you have compiled a library or libraries already and it is a > dependency of the library or binary you are trying to currently compile. > > On Mon, Mar 13, 2023 at 10:00 PM Dean Wheatley <[email protected]> wrote: > >> Any hints from Googlers on how to improve this? >> On Saturday, March 4, 2023 at 6:08:04 AM UTC+11 Dean Wheatley wrote: >> >>> Wow, 18 minutes, that's unbearable. >>> >>> On Tuesday, February 7, 2023 at 7:01:21 AM UTC+11 Michael Swartout wrote: >>> >>>> Lucky yours only takes 60 seconds. It takes 18 minutes, everytime I >>>> make a change to almost anything. >>>> >>>> On Wed, Feb 1, 2023 at 9:29 PM Dean Wheatley <[email protected]> wrote: >>>> >>>>> Is there a better/faster way to develop Android.bp in the AOSP tree >>>>> than waiting for the many (> 60) seconds it takes to "analyzing Android.bp >>>>> files and generating ninja file at out/soong/build.ninja" after any change >>>>> to any Android.bp file in the tree? >>>>> >>>>> -- >>>>> -- >>>>> You received this message because you are subscribed to the "Android >>>>> Building" mailing list. >>>>> To post to this group, send email to [email protected] >>>>> To unsubscribe from this group, send email to >>>>> [email protected] >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/android-building?hl=en >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Android Building" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/android-building/e19325ce-2798-4d80-8de8-b0312c7bb69an%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/android-building/e19325ce-2798-4d80-8de8-b0312c7bb69an%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >> -- >> You received this message because you are subscribed to the "Android >> Building" mailing list. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-building?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Android Building" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/android-building/6c196f08-e689-4163-ba8c-cc517a100eb4n%40googlegroups.com >> <https://groups.google.com/d/msgid/android-building/6c196f08-e689-4163-ba8c-cc517a100eb4n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/CAEq4fyDkKBJUdqeQ2W2n7m1jJWsNJpGOgMDvLgq86og7_Sb%2BMw%40mail.gmail.com > <https://groups.google.com/d/msgid/android-building/CAEq4fyDkKBJUdqeQ2W2n7m1jJWsNJpGOgMDvLgq86og7_Sb%2BMw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CAJgzZor%2Bpj%2BmrNqR2fKRNGkNwmBbzxUtzQZaVOhar19EMrC6gQ%40mail.gmail.com.
