Can you reduce compile times simply by upgrading to faster memory? I'm encountering a similar issue where it takes about 10 minutes to generate the ninja file. I currently have 64GB of memory, but it's running at a speed of only 2133MHz. Therefore, I'm wondering if I should upgrade my memory or my CPU. 在2023年3月14日星期二 UTC+8 23:26:05<Michael Swartout> 写道:
> 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/7e8f2c99-c95b-4768-b0f2-00481a31b716n%40googlegroups.com.
