From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fiona Klute <fiona.klute@gmx.de>
Cc: buildroot@buildroot.org, Francois Perrad <francois.perrad.86@gmail.com>
Subject: Re: [Buildroot] [PATCH 2/2] package/pkg-hare: move cache directory outside of $(HOME)
Date: Tue, 20 Oct 2026 15:17:10 +0200 [thread overview]
Message-ID: <atdo86oTqhAX5Oes@windsurf> (raw)
In-Reply-To: <8b5cbb21-caa0-4935-b2d4-35908b5ab0d8@gmx.de>
On Tue, Oct 20, 2026 at 02:55:04PM +0200, Fiona Klute wrote:
> Am 20.10.26 um 14:06 schrieb Thomas Petazzoni via buildroot:
> > By default, hare will store its cache directory in $(HOME)/.cache,
> > which is a problem as we don't want a Buildroot build to write outside
> > of its output directory (to the exception of DL_DIR, of course). The
>
> And CCACHE_DIR, if enabled. Not really critical, but might give someone
> who's new to Buildroot a wrong idea. ;-)
True.
> I'm not familiar with Hare, what does it store in its cache dir? The default
> path suggests it's intended as a global cache, so I'm wondering if something
> like $(BUILD_DIR)/.hare-cache might be better than a per-package cache. But
> of course that depends on what goes in there.
I must say I'm not sure. On the package/hare patch, I asked the
feedback from François Perrad precisely for this reason. For what I
can see, it contains "object files" for each source file that has been
compiled, along with a bunch of other things.
See:
https://paste.ack.tf/3839b9@raw
(from this I can see the path within
output/build/hare-dbus-e9a89f8bc5ce783fa25f0eb67d7d8932db90bcc2/.cache
seems a bit crazy though.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-10-20 13:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 12:06 [Buildroot] [PATCH 1/2] package/pkg-hare: refactor build command Thomas Petazzoni via buildroot
2026-10-20 12:06 ` [Buildroot] [PATCH 2/2] package/pkg-hare: move cache directory outside of $(HOME) Thomas Petazzoni via buildroot
2026-10-20 12:55 ` Fiona Klute via buildroot
2026-10-20 13:17 ` Thomas Petazzoni via buildroot [this message]
2026-10-20 16:43 ` Peter Korsgaard
2026-10-20 18:03 ` François PERRAD
2026-10-20 18:19 ` Thomas Petazzoni via buildroot
2026-10-20 18:32 ` Peter Korsgaard
2026-10-20 18:26 ` [Buildroot] [PATCH 1/2] package/pkg-hare: refactor build command François PERRAD
2026-10-20 18:34 ` Peter Korsgaard
2026-10-20 18:42 ` 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=atdo86oTqhAX5Oes@windsurf \
--to=buildroot@buildroot.org \
--cc=fiona.klute@gmx.de \
--cc=francois.perrad.86@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/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