]> code.ossystems Code Review - openembedded-core.git/commit
ccache.bbclass: don't remove CCACHE_DIR as part of do_clean
authorAndre McCurdy <armccurdy@gmail.com>
Thu, 11 Aug 2016 08:38:54 +0000 (01:38 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Aug 2016 09:31:58 +0000 (10:31 +0100)
commit6ae6680ad8d51eff756dcb6500fca2530e3e3e73
tree2992ca34ea96ee96ef8efb6a9bb7d2abe7838d18
parentecff74ab68ffca27ed856be6117124b8bc1ef2d6
ccache.bbclass: don't remove CCACHE_DIR as part of do_clean

Removing the ccache directory as part of do_clean is unnecessarily
conservative and defeats many of the benefits of ccache.

The original justification for this behaviour was to avoid confusion
in the corner case that the ccache directory becomes corrupted.
However the standard approach for dealing with such highly unlikely
corner cases (ie manually removing tmp) would also recover from
corruption of the ccache directories, without the negative impact of
defeating ccache during normal development.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/ccache.bbclass