mirror of
https://github.com/openharmony/build_lite.git
synced 2026-07-19 08:33:46 -04:00
Fix cache hit ratio decrease
Signed-off-by: lijunru <lijunru6@huawei.com>
This commit is contained in:
@@ -60,7 +60,8 @@ class PreBuild:
|
||||
os.environ['CCACHE_LOGFILE'] = logfile
|
||||
os.environ['USE_CCACHE'] = '1'
|
||||
os.environ['CCACHE_DIR'] = ccache_base
|
||||
os.environ['CCACHE_MASK'] = '002'
|
||||
os.environ['CCACHE_UMASK'] = '002'
|
||||
os.environ['CCACHE_BASEDIR'] = self._root_path
|
||||
ccache_max_size = os.environ.get('CCACHE_MAXSIZE')
|
||||
if not ccache_max_size:
|
||||
ccache_max_size = '100G'
|
||||
|
||||
Reference in New Issue
Block a user