public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 4e54a8e2d6d4286f85a38a492d34452092404b24
Date: Tue, 28 May 2019 12:02:13 +0100	[thread overview]
Message-ID: <20190528110214.47BEC84FDC0@people01.i.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2114 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  4e54a8e2d6d4286f85a38a492d34452092404b24 (commit)
      from  992fdd3d075b995e704b55b8bc66f44c5ad6aecf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4e54a8e2d6d4286f85a38a492d34452092404b24
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Tue May 28 12:01:30 2019 +0100

    ccache: Automatically set size to 8GB
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 lfs/ccache | 3 ---
 make.sh    | 4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

Difference in files:
diff --git a/lfs/ccache b/lfs/ccache
index 22e71a12d..94d7bd149 100644
--- a/lfs/ccache
+++ b/lfs/ccache
@@ -40,9 +40,6 @@ ifeq "$(PASS)" "1"
 	CFLAGS := $(patsubst -mfunction-return=%,,$(CFLAGS))
 endif
 
-# Set max cache size to 5GB
-CFLAGS += -DDEFAULT_MAXSIZE=5242880
-
 ###############################################################################
 # Top-level Rules
 ###############################################################################
diff --git a/make.sh b/make.sh
index 2d871a2cb..30b42bbdb 100755
--- a/make.sh
+++ b/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


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2019-05-28 11:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190528110214.47BEC84FDC0@people01.i.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox