You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The .ardi directory in a project is typically quite large, e.g. 295M for a very simple project I just set up. In some cases (such as mine) I may end up with a number of different projects set up on the same machine. It would be nice if common large items could be linked to a central cache directory. (Clearly we'd want to make sure this is only done if they are exactly the same item.)
There are tradeoffs here to be sure (who cleans the cache?), but it is a popular approach taken by some other dependency managers (but not all of them).
I'm feeling the extra pain because I happen to be using this on a Raspberry Pi (among other places)... so I'm having to blow away .ardi directories occasionally to keep the disk from filling.
The text was updated successfully, but these errors were encountered:
This is a bit tricky, and possibly impossible at the moment, as I believe the underlying tool arduino-cli only supports using one data directory at a time. So your build can only utilize either a global data directory or a local project data directory but not both simultaneously. I'll do some digging around in arduino-cli to see if they've added support for multiple data directories recently or see if I can maybe submit a patch upstream if it's not too difficult, or even just open an issue.
On Fri, Jul 9, 2021 at 7:41 PM Rob Gonnella ***@***.***> wrote:
This is a bit tricky, and possibly impossible at the moment, as I believe
the underlying tool arduino-cli only supports using one data directory at
a time. So your build can only utilize either a global data directory or a
local project data directory but not both simultaneously. I'll do some
digging around in arduino-cli to see if they've added support for
multiple data directories recently or see if I can maybe submit a patch
upstream if it's not too difficult, or even just open an issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#61 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACEKC7UOHROMMH6PRH7L7LTW6XO5ANCNFSM475KRY2Q>
.
The
.ardi
directory in a project is typically quite large, e.g. 295M for a very simple project I just set up. In some cases (such as mine) I may end up with a number of different projects set up on the same machine. It would be nice if common large items could be linked to a central cache directory. (Clearly we'd want to make sure this is only done if they are exactly the same item.)There are tradeoffs here to be sure (who cleans the cache?), but it is a popular approach taken by some other dependency managers (but not all of them).
I'm feeling the extra pain because I happen to be using this on a Raspberry Pi (among other places)... so I'm having to blow away
.ardi
directories occasionally to keep the disk from filling.The text was updated successfully, but these errors were encountered: