Using IceCC (Or Equivalent) for Distributed AOSP/LineageOS Builds?
I’ve been trying to speed up my LineageOS builds with IceCC, but haven’t had much luck. I know the cluster itself works because I’ve used IceCC for Linux kernel builds. There’s an old script called icecc-create-android-env ( around 12 years old, https://github.com/ragner/icecream/blob/android-build/client/icecc-create-android-env ) floating around GitHub, but it doesn’t seem compatible with modern Android build systems. Has anyone here managed to get IceCC working reliably for AOSP or LineageOS? Or is there a newer or alternative solution for distributed building on multiple machines? Any pointers or experiences would be greatly appreciated!
There's Incredibuild (paid), might be worth investigating if it fits your scenario (I have serious doubts it'll work with anything other than basic AOSP due to how lineage's ninja behaves during its early build phase of regenerating scripts from .mk/bp's).
Mind if I ask what's your current record on build time for single device/buildtype combination's systemimage on a single node?