Skip to content

Make PRESERVE_TIERED_INSTALLED the default #3905

@IanButterworth

Description

@IanButterworth

Since PRESERVE_TIERED_INSTALLED was added to Pkg.add in 1.9 I've had it enabled as the default via the env var

JULIA_PKG_PRESERVE_TIERED_INSTALLED = true

and I've not seen any issues with getting stuck on older package versions, as was feared.

In short it tries harder to avoid updating packages that are already installed, to minimize installation and re-precompilation.

Given precompilation times have been increasing as precompilation workload coverage increases I think it would be good to make that the default behavior.

It'd be good to hear from others that have used that setting to see if there are any negatives identified.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions