https://pantsbuild.org/ logo
#development
Title
# development
f

fresh-cat-90827

05/03/2022, 10:50 AM
as per https://www.pantsbuild.org/docs/troubleshooting#how-to-change-your-cache-directory, one can modify the
PANTS_SETUP_CACHE
env var to tell Pants where to store the cache (for the Pants installation in customer’s repo). Is there a way to modify the cache location when running Pants from sources in its own repo (https://www.pantsbuild.org/docs/running-pants-from-sources)? I.e. I checkout the https://github.com/pantsbuild/pants and would like to have cache stored in some other location when running
./pants
. Defining
PANTS_SETUP_CACHE
doesn’t seem to have any effect.
h

hundreds-father-404

05/03/2022, 1:16 PM
I don't think we have a mechanism for this, but feel free to contribute it! It is all controlled I think by the bash script
./pants
👀 1