All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [pull request v2] Pull request for branch for-2011.02/fix-ccache-support
Date: Sun, 05 Dec 2010 23:40:14 +0100	[thread overview]
Message-ID: <874oarx2r5.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <cover.1291403746.git.thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Fri, 3 Dec 2010 20:16:22 +0100")

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Hello,
 Thomas> [ Sorry, previous pull request had some mistakes. ]

 Thomas> Here is a patch that reworks the ccache support to make it work and
 Thomas> make it useful. It is now a "Build options" rather than a "Toolchain
 Thomas> option". I have tested it with both internal toolchain and external
 Thomas> toolchain. The principle is simply to build ccache as early as
 Thomas> possible in the build process, and then use it to cache host and
 Thomas> target compiled files.

Thanks, looks interesting.

 Thomas> The ccache cache is kept in ~/.buildroot-ccache/, so that it can be
 Thomas> shared between different builds.

Why here and not in the default ~/.ccache? Is the ~/.ccache directory
content ccache-version dependent?

 Thomas> I'm not using the symlink technique that was used in the past, but
 Thomas> rather prefixing all invocation to host gcc and target gcc with
 Thomas> "$(HOST_DIR)/usr/bin/ccache".

Is that working everywhere? I remember we had some problems back when we
added --sysroot= to TARGET_CC. The qt package in particular is stripping
the --sysroot argument because of this.

-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2010-12-05 22:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 19:16 [Buildroot] [pull request v2] Pull request for branch for-2011.02/fix-ccache-support Thomas Petazzoni
2010-12-03 19:16 ` [Buildroot] [PATCH 1/1] ccache: rework ccache management Thomas Petazzoni
2010-12-05 22:47   ` Peter Korsgaard
2010-12-05 22:40 ` Peter Korsgaard [this message]
2010-12-06  9:44   ` [Buildroot] [pull request v2] Pull request for branch for-2011.02/fix-ccache-support Bjørn Forsman
2010-12-06 15:08     ` Peter Korsgaard
2010-12-06 19:24       ` Thomas Petazzoni
2010-12-06 19:22     ` Thomas Petazzoni
2010-12-07  0:04       ` Bjørn Forsman
2010-12-07 19:53         ` Thomas Petazzoni
2010-12-08 10:24           ` Bjørn Forsman
2010-12-06 23:14   ` Thomas Petazzoni
2010-12-07 12:26     ` Peter Korsgaard

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=874oarx2r5.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.