Set the compilation cache directory.
All subsequent compilations will use this directory for caching.
Existing cached artefacts in the old directory are not moved.
- Parameters:
path (str | Path) – New cache directory path. Created if it does not exist.
- Return type:
None