提交 c43818c7 编写于 作者: O openharmony_ci 提交者: Gitee

!333 disable ccache stat print when no ccache found

Merge pull request !333 from yaoxiaoyu_903c/ccache
......@@ -118,6 +118,9 @@ class PostBuild:
exec_command(cmd, log_path=self._log_path)
def stat_ccache(self):
ccache_path = find_executable('ccache')
if ccache_path is None:
return
cmd = [
'python3', '{}/build/scripts/summary_ccache_hitrate.py'.format(
self._root_path), '{}/ccache.log'.format(self._root_path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册