Clearing Shared Depots - CliMA/slurm-buildkite GitHub Wiki
This page contains information about setting up shared depots to reuse precompiled code in multiple Julia processes. The JULIA_DEPOT_PATH environment variable is used to control where precompiled packages are loaded from. Reusing a shared depot prevents multiple processes with the same environment from recompiling the same code. This can be done by setting the following in your Buildkite pipeline:
env:
JULIA_DEPOT_PATH: "${BUILDKITE_BUILD_PATH}/${BUILDKITE_PIPELINE_SLUG}/depot/default"
Sometimes these shared depots get corrupted, causing unexpected errors.
To clear a shared depot, open the clear-depot, pipeline, click New Build, and enter the target pipeline’s slug (buildkite.com/clima/pipeline-slug) as the build message.