]> git.ipfire.org Git - ipfire-2.x.git/commit
make.sh: Have a ccache for each architecture
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 29 May 2019 14:28:45 +0000 (15:28 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 29 May 2019 14:28:45 +0000 (15:28 +0100)
commit3608d485567284b52c17754c7f8809ee793db7cc
treea1d5df1990e849540f0f3e2576ed6aa61fc89ad0
parentb0ec4158f374ccc2fe7e73caf40ce26f1db45025
make.sh: Have a ccache for each architecture

It does not make much sense to mix architectures into a single
ccache:

* There is never going to be a match
* The cache gets bigger and therefore slower
* If both architectures are being compiled one after the other and
  the cache hits its maximum size, cached but still needed content
  will be dropped
* Only both can be deleted together

This small change splits this into multiple caches. One per
architecture. Therefore we should be more efficient on builders
that build for multiple architectures.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh