diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-05-30 12:25:22 +0300 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-06-01 01:57:07 +0200 |
commit | 70fd835b4cf75e386ee115c705241a4059fb68a8 (patch) | |
tree | 52cb1e93097bc7a8cdd19dfe5c0efa8dc5196769 /soltools | |
parent | a05dc1591ca9122056e95cb2801e7f924bb7ecdb (diff) |
Fix ccache cache size detection
I have ccache 4.8.1 and it reports:
(/home/khaled/.config/ccache/ccache.conf) max_size = 30.0 GB
With a space between the number and the unit and the configure check
with then see a unit-less 30 and will warn:
ccache's cache size is less than 1GB using it is counter-productive: Disabling auto-ccache detection
Instead of relying on the human readable output, use --print-stats
which prints machine-readable output and is available since 3.7 (thanks
to Cloph for the suggestion).
Change-Id: I69f994a07cfbf08b66a2010f9c99401881d4acf3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152382
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
Diffstat (limited to 'soltools')
0 files changed, 0 insertions, 0 deletions