提交 c6ebd4c8 编写于 作者: L lijunru

Fix cache hit ratio decrease

Signed-off-by: Nlijunru <lijunru6@huawei.com>
上级 e6a85003
......@@ -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'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册