ICECC FOR AOSP Build

159 views
Skip to first unread message

anish anil

unread,
Jun 6, 2021, 12:45:18 PM6/6/21
to icecream-users

Hello ICECC,

We are trying to do AOSP build and on a regular day the build takes aboyt 2 hours.
We tried using the below solutions to expedite the build time

1> Incredibuild
2> CloudBees Accelerator
3> Icecc
4> Distcc

The first two are super expensive but does a decent job. We hower are evaluating ICECC to do the Android build and it does not use the node machines at any point to accelerate the build. To confirm the environment is working perfectly, I tried doing a linux build and a make -j30 does work as expected and the build completes in less than 2 minutes which ideally on a single node takes about 10 minutes.

How do we build AOSP using ICECC. Is it possible............if yes, is there a documentation that i can refer to get this done.

I saw the below article,


However this was written on a older version and years back so, unsure if it still works as the scripts uses "make" which does not work on the latest AOSP and it uses "m"

Any help is greatly appreciated as we are evaluating the tool and would like to use ICECC on our setup.

Thank you,
Anish

Henry Miller

unread,
Jun 6, 2021, 6:24:41 PM6/6/21
to icecrea...@googlegroups.com
If the script you link doesn't work, then you will need to figure out how the android build environment is setup and make something work.  I don't think anyone reading this list does Android work, so you will need to be the one to dig in and figure out how to make everything work.  It shouldn't be hard, but may take a few days.  Once you figure  it out please document it for the next person.

-- 
  Henry Miller

--
You received this message because you are subscribed to the Google Groups "icecream-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to icecream-user...@googlegroups.com.

anish anil

unread,
Jun 10, 2021, 8:40:40 AM6/10/21
to icecream-users
Henry,

When i did a linux Kernel build, i just ran the command make -j6 and also set the path it worked seamlessly.
What i don't understand is, why the same command with a prefix of  export PATH=/usr/lib/icecc/bin:$PATH, does not start the ICECream nodes.

I'm not sure what configuration in IceCream if any is missing......hence the confusion

Thank you,
Anish
Reply all
Reply to author
Forward
0 new messages