>The analysis results are persisted to disk, so that we only need to rerun them >when one of it's inputs changes (an Android.bp/mk, glob in an Android.bp, the >build system itself, etc).
>This means that most iterations when you're iterating on your code is fairly >fast, only going through the execution phase. But when you do touch an >Android.bp it'll take a few minutes (on a sufficient machine) to re-analyze >before switching to running the compilers/etc. Yes, I've noticed that, but isn't there a way to make the analysis stage incremental too? In case a single module file was modified while everything else is unchanged, we want to re-analyze the module itself and all of its recursive dependencies. As we have a cached graph already, it looks like we can rely on it to find all the dependents. Is there something I'm missing that requires rebuilding the graph from scratch? > When we were running under make in 2015, it would take a couple minutes to > start every single build, and the builds have gotten significantly more > complex and much larger since then. Exactly, so being able to load the entire graph into RAM is a bold assumption, isn't it? As the system will continue growing, more modules will be added and the memory footprint will constantly increase, until we need 128GB for a comfortable build. Every build system strives to avoid touching the files not being changed, is there an inherent technological limitation in Android that prevents us from doing that? -- -- 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 visit https://groups.google.com/d/msgid/android-building/Ry5PgIwBCqANURKWMzqxWYD96bnwijw2owLLT9NowcPdL8bW_Z4mviaQEU37LK6WiAhJCybS2dFWpSJV-fdWEF5gEz8TyUgWe1dOcF7Jvqs%3D%40proton.me.
