[oe-commits] [openembedded-core] 16/62: ccache.bbclass: don't remove CCACHE_DIR as part of do_clean

git at git.openembedded.org git at git.openembedded.org
Wed Aug 17 09:36:33 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 6ae6680ad8d51eff756dcb6500fca2530e3e3e73
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Thu Aug 11 01:38:54 2016 -0700

    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 at gmail.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/ccache.bbclass | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass
index 2cdce46..2e9837c 100644
--- a/meta/classes/ccache.bbclass
+++ b/meta/classes/ccache.bbclass
@@ -4,5 +4,3 @@ CCACHE_DISABLE[unexport] = "1"
 
 do_configure[dirs] =+ "${CCACHE_DIR}"
 do_kernel_configme[dirs] =+ "${CCACHE_DIR}"
-
-do_clean[cleandirs] += "${CCACHE_DIR}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list