mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
ccache: Automatically set size to 8GB
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
4
make.sh
4
make.sh
@@ -520,6 +520,9 @@ prepareenv() {
|
||||
SYSTEM_RELEASE="${SYSTEM_RELEASE} - Development Build: $GIT_BRANCH/$GIT_LASTCOMMIT$GIT_STATUS"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Setup ccache cache size
|
||||
enterchroot ccache --max-size="${CCACHE_CACHE_SIZE}" >/dev/null
|
||||
}
|
||||
|
||||
enterchroot() {
|
||||
@@ -900,6 +903,7 @@ update_contributors() {
|
||||
}
|
||||
|
||||
# Default settings
|
||||
CCACHE_CACHE_SIZE="8G"
|
||||
ENABLE_RAMDISK="auto"
|
||||
|
||||
# Load configuration file
|
||||
|
||||
Reference in New Issue
Block a user