store the sccache results in /tmp/buildd/source/sccache-stats.json

This commit is contained in:
Sylvestre Ledru 2022-11-16 20:51:02 +01:00
parent eb4bb9e7a4
commit bde3d49c95

5
debian/rules vendored
View File

@ -756,8 +756,9 @@ sccache-stats:
# If we used sccache, shows stats # If we used sccache, shows stats
if test -f /opt/sccache/sccache; then \ if test -f /opt/sccache/sccache; then \
ls -al /opt/sccache/; \ ls -al /opt/sccache/; \
/opt/sccache/sccache --stats-format json --show-stats > /tmp/buildd/sccache-stats.json; \ mkdir -p /tmp/buildd/source/; \
cat /tmp/buildd/sccache-stats.json; \ /opt/sccache/sccache --stats-format json --show-stats > /tmp/buildd/source/sccache-stats.json; \
cat /tmp/buildd/source/sccache-stats.json; \
fi fi
touch $@ touch $@