未验证 提交 5de9a04e 编写于 作者: O openharmony_ci 提交者: Gitee

!472 make ccache size configurable rather than hard code via magic number

Merge pull request !472 from angl/master
......@@ -52,8 +52,11 @@ class PreBuild:
os.environ['USE_CCACHE'] = '1'
os.environ['CCACHE_DIR'] = ccache_base
os.environ['CCACHE_MASK'] = '002'
ccache_max_size = os.environ.get('CCACHE_MAXSIZE')
if not ccache_max_size:
ccache_max_size = '100G'
cmd = ['ccache', '-M', '100G']
cmd = ['ccache', '-M', ccache_max_size]
exec_command(cmd, log_path=self._log_path)
def set_pycache(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册