public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Portage and languages with built-in cache support
@ 2023-04-25  8:07 Anna (cybertailor) Vyalkova
  2023-04-25 14:09 ` Maciej Barć
  0 siblings, 1 reply; 4+ messages in thread
From: Anna (cybertailor) Vyalkova @ 2023-04-25  8:07 UTC (permalink / raw
  To: gentoo-dev

Hello,

Portage can use ccache and sccache to speed up builds, but some
languages (like Go and Nim) support caches out-of-the-box. It's not fair
that we can't use them.

I'd like to start discussion on this topic. What should be the preferred
method of handling build caches?

I think adding more stuff to Portage is a bad idea, and caches should be
handled by corresponding "${lang}-utils" eclasses. It can be as simple
as checking some variable, passing necessary flags and placing a couple
of 'addwrite' calls for sandbox.

Of course, such feature needs to be strictly opt-in.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-01 16:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-25  8:07 [gentoo-dev] Portage and languages with built-in cache support Anna (cybertailor) Vyalkova
2023-04-25 14:09 ` Maciej Barć
2023-04-26 13:43   ` Anna (cybertailor) Vyalkova
2023-06-01 16:03     ` William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox