Bug 2928

Summary: ccache is not used when building packages
Product: [Build System, Metadata & Runtime] BitBake Reporter: Laurentiu Serban <laurentiu.serban>
Component: bitbakeAssignee: Saul Wold <sgw>
Status: VERIFIED NOTABUG QA Contact:
Severity: normal    
Priority: Medium CC: liang.li2, poky.bs.watcher, poky.watcher, sgw, srifenbark
Version: 1.3   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Laurentiu Serban 2012-08-09 15:12:01 UTC
Setting INHERIT+=ccache in conf/local.conf.

After running bitbake less, I checked the log_do.compile log and ccache is not used or at least nothing appears in the log.
Comment 1 liang li 2012-08-10 07:50:21 UTC
add the steps below:
bitbake ccache-native
bitbake less -c cleansstate
bitbake less -c compile
can get "ccache" from log.do_compile.
Comment 2 Saul Wold 2012-08-13 13:38:30 UTC
Can you confirm the issue after adding ccache to your system as suggested please.
Comment 3 Saul Wold 2012-08-14 06:55:11 UTC
See last comment
Comment 4 Saul Wold 2012-08-22 07:24:50 UTC
As suggested by Liang, you also need to have build ccache-native, maybe this needs better documentation
Comment 5 Laurentiu Serban 2012-08-22 23:53:04 UTC
Setting this to verified
after liang li comments