From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 23 Aug 2013 13:19:37 -0700 Subject: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache In-Reply-To: <201308230505.42540.marex@denx.de> References: <1369070715-9585-2-git-send-email-marex@denx.de> <201308222136.35372.marex@denx.de> <5216A742.8000006@freescale.com> <201308230505.42540.marex@denx.de> Message-ID: <5217C3D9.3030705@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/22/2013 08:05 PM, Marek Vasut wrote: > 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. > I can send you the patch. Will you be able to test? York