Bug 2928 - ccache is not used when building packages
Summary: ccache is not used when building packages
Status: VERIFIED NOTABUG
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-08-09 15:12 UTC by Laurentiu Serban
Modified: 2012-08-22 23:53 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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