From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 23 Aug 2013 05:05:42 +0200 Subject: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache In-Reply-To: <5216A742.8000006@freescale.com> References: <1369070715-9585-2-git-send-email-marex@denx.de> <201308222136.35372.marex@denx.de> <5216A742.8000006@freescale.com> Message-ID: <201308230505.42540.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear York Sun, > On 08/22/2013 12:36 PM, Marek Vasut wrote: > > There is an env variable to configure separate ccache cache dir , so just > > by setting that. But then , when each build ends, you would need to > > clean it up somehow. It was mentioned in the discussion with the patch. > > You can try working on this some more and post a patch, then we can talk > > about further forging of this. > > I fixed the 2nd patch and I am running MAKEALL with individual board > folder for ccache. The compiling time for the first run on my laptop is > 56 minutes. The 2nd run is 23 minutes. About the same improvement if > using a big unified cache for all boards. By the way, each board cache > is about 7~8MB. > > You set my expectation high. I was hoping to get 10x or more improvement. It should be more, try checking if there is no bottleneck. Best regards, Marek Vasut