Thanks Meter 1909
Join Date: May 2012
Re: [HOWTO] Build CM10.1 for Nexus 7
Originally Posted by azoller1
So after your first repo sync ever later builds will take a lot less time? And also do you have to repo sync every time to update to a new nightly or version?
Sent from my Nexus 7 using Tapatalk 2
No.. Repo sync is used to download source code from git..
You should do repo sync about once a week, to make sure you have the latest code, all up to date..
Builds will take anywhere from 15 mins to 8-9 hours.. Depending on how powerful your machine is... And how many jobs your processor can handle simultaneously..
You dont even need to do make clean or make clobber everytime you build..
But if you make any change in the source/device tree, then you'll have to clean before making a new build, otherwise the changes wont vet picked up...
PS : build time can be reduced by something called CCACHE or Compiler Cache..
Mine reduced from 6.5 hrs down to a little over 2....
Its info is there in the tutorial fattire has written...
Sent from my Nexus 7