Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd5ae351 authored by Jackeagle's avatar Jackeagle
Browse files

Merge branch 'master-beta' into 'master'

fix ccache not being used by soong, bump cache to 200G

See merge request !118
parents 93107110 9449c06b
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -3,15 +3,16 @@
# Initialize CCache if it will be used
if [ "$USE_CCACHE" = 1 ]; then
  echo ">> [$(date)] Setting up ccache config"
  ccache --set-config=max_size=100G \
    --set-config=compression_level=6 \
  ccache --set-config=max_size=200G \
    --set-config=compression_level=1 \
    --set-config=sloppiness=time_macros
  # Recompress the cache
  ccache --recompress 6
  ccache --recompress 1
  # Delete not recently used files
  ccache --evict-older-than 30d
  ccache -c
  # Reset stats
  ccache -z
  export PATH="/usr/lib/ccache:$PATH"
  export CCACHE_EXEC=$(which ccache)
fi