<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 13 January 2017 at 14:23, Yannick Gicquel <span dir="ltr">&lt;<a href="mailto:yannick.gicquel@iot.bzh" target="_blank">yannick.gicquel@iot.bzh</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">+def init_ccache():<br>
+    # dummy python version<br>
+    return<br>
+<br>
+init_ccache() {<br>
+    if [ -n &quot;${CCACHE}&quot; ]; then<br>
+        ${CCACHE} -M ${CCACHE_MAX_SIZE}<br>
+    fi<br>
+}<br>
+<br>
+do_compile_prepend() {<br>
+    init_ccache<br>
+}</div></blockquote></div><br>That is horrible. :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Is it not possible to just pass -M[size] to ccache every time it&#39;s invoked?  If it needs to be invoked on its own, then a do_compile[postfunc] or something to trim the size after a build would be neater.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>