Yep, this greatly depends on your machine and which target you're building -- there are builds and configurations that can do a full clean build in ~30 minutes, but that's a simpler config and a high-end machine.
For the workflow: if i want to include a new library, or write a new driver, or change > something minimal, and recompile, isn't there a way to do it quicker? > You should only need to do the full clean build once, after that incremental builds should be much much shorter (our goals are generally <<1min, but that significantly depends on what you change, and your machine). You should always try to use incremental builds. And if you know that you only want to rebuild a single partition / don't need images / etc, you can ask for `m vendorimage`/`m sync`/etc, but what works there greatly depends on the types of changes you're making, and what you need out of the build. > And be sure to use make -k to take advantage of all your CPUs. '-k' is keep going, you're thinking of '-j', but that's been the default for a while now. - Dan On Mon, May 4, 2020 at 12:29 PM 'Glenn Kasten' via Android Building < [email protected]> wrote: > The listed build hardware requirements > <https://source.android.com/setup/build/requirements#hardware-requirements> > are the bare minimum. > The more RAM and CPUs you have, the better. > And be sure to use make -k to take advantage of all your CPUs. > > On Monday, May 4, 2020 at 12:19:43 PM UTC-7, Imx6dev Kit wrote: >> >> I got my AOSP build to work but it took maybe 8 hours ... i cannot >> imagine how anyone can develop anything this way .. if i want to include a >> new library, or write a new driver, or change something minimal, and >> recompile, isn't there a way to do it quicker? What is the recommended way >> to build after making a minor change? >> > -- > -- > 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/5192f89b-c40e-4bba-969c-ec6f012d8324%40googlegroups.com > <https://groups.google.com/d/msgid/android-building/5192f89b-c40e-4bba-969c-ec6f012d8324%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/CALQgHd%3DMqEL1LQ74%2Bn7aVjwEuKb3jbpFYGRujQLXmQyML_FdLw%40mail.gmail.com.
