config/options: add compression level for ccache (CCACHE_COMPRESSLEVEL)

This commit is contained in:
Rudi Heitbaum 2022-09-13 11:39:20 +00:00 committed by Matthias Reichl
parent 16ec111802
commit 399df18197

View File

@ -103,6 +103,15 @@ VERBOSE="${VERBOSE:-yes}"
# directory.
CCACHE_CACHE_SIZE="10G"
# compression level for ccache
# This option determines the level at which ccache will compress object files
# using the real-time compression algorithm Zstandard. It only has effect if
# compression is enabled (which it is by default). Zstandard is extremely fast
# for decompression and very fast for compression for lower compression
# levels. The default is 0. The value 0 means that ccache will choose a
# suitable zstd level, currently 1.
CCACHE_COMPRESSLEVEL="0"
# set addon paths
if [ -z "$ADDON_PATH" ]; then
if [ -n "$ADDON_PROJECT" ]; then