[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] Portage and languages with built-in cache support
From: "Anna (cybertailor) Vyalkova" <cyber+gentoo () sysrq ! in>
Date: 2023-04-26 13:43:04
Message-ID: ZEkqaJCDXCwDapA5 () sysrq ! in
[Download RAW message or body]
On 2023-04-25 16:09, Maciej Barć wrote:
> You would also have to have correct permissions on cache dirs
> (root:portage or portage:portage) this also means that the cache dir
> will have to be set during build explicitly.
> Do both Nim and Go support setting it?
Yes. For Nim it would be something like that:
# nim.cfg
--nimcache:"${EPREFIX}/var/cache/nim/${CATEGORY}/${PN}"
And for Go:
export GOCACHE="${EPREFIX}/var/cache/go"
on some condition.
The only problem is, they don't support cleaning cache automatically. So
it needs to be done manually or with cron.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic