Skip to content

mount ~/.tart/cache directory when running vms #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zshannon
Copy link

I'm building a project with 2-3 GB of DerivedData and SPM cache, which doesn't work well getting tarballed and shipped to/from the Github cache, so I'm exploring more performant options. I still need to think through lock type stuff for a good solution here, but having a persistent directory from the host available on the VM is a solid start for me here :)

Description

Creates a cache directory in the tart home and mounts it on run in virtual machines at /Volumes/My Shared Files/cache.

Motivation and Context

See above but basically I want to cache files between builds to speed up SPM

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@zshannon zshannon requested a review from simonbs as a code owner March 23, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant