diff options
author | kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> | 2024-10-31 12:31:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-31 10:31:34 -0700 |
commit | 0c00a297e118f3d15e3c24743c102570f754ddd5 (patch) | |
tree | e392da4dc56da85dba95b3fd59cdd8115beade6b /var | |
parent | c6a1ec996c3b39aec8aa64240c77dca55a2aa114 (diff) | |
download | spack-0c00a297e118f3d15e3c24743c102570f754ddd5.tar.gz spack-0c00a297e118f3d15e3c24743c102570f754ddd5.tar.bz2 spack-0c00a297e118f3d15e3c24743c102570f754ddd5.tar.xz spack-0c00a297e118f3d15e3c24743c102570f754ddd5.zip |
Concretize reuse: reuse specs from environment (#45139)
The already concrete specs in an environment are now among the reusable specs for the concretizer.
This includes concrete specs from all include_concrete environments.
In addition to this change to the default reuse, `environment` is added as a reuse type for
the concretizer config. This allows users to specify:
spack:
concretizer:
# Reuse from this environment (including included concrete) but not elsewhere
reuse:
from:
- type: environment
# or reuse from only my_env included environment
reuse:
from:
- type:
environment: my_env
# or reuse from everywhere
reuse: true
If reuse is specified from a specific environment, only specs from that environment will be reused.
If the reused environment is not specified via include_concrete, the concrete specs will be retried
at concretization time to be reused.
Signed-off-by: Ryan Krattiger <ryan.krattiger@kitware.com>
Co-authored-by: Gregory Becker <becker33@llnl.gov>
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions