spack/lib/spack/docs
Richarda Butler f634d48b7c Include concrete environments with include_concrete (#33768)
Add the ability to include any number of (potentially nested) concrete environments, e.g.:

```yaml
   spack:
     specs: []
     concretizer:
         unify: true
     include_concrete:
     - /path/to/environment1
     - /path/to/environment2
```

or, from the CLI:

```console
   $ spack env create myenv
   $ spack -e myenv add python
   $ spack -e myenv concretize
   $ spack env create --include-concrete myenv included_env
```

The contents of included concrete environments' spack.lock files are
included in the environment's lock file at creation time. Any changes
to included concrete environments are only reflected after the environment
is re-concretized from the re-concretized included environments.

- [x] Concretize included envs
- [x] Save concrete specs in memory by hash
- [x] Add included envs to combined env's lock file
- [x] Add test
- [x] Update documentation

    Co-authored-by: Kayla Butler <<butler59@llnl.gov>
    Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.co
m>
    Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
    Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
2024-05-08 14:19:22 +02:00
..
_gh_pages_redirect
_pygments Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
_static
_templates docs: re-enable google analytics (#43974) 2024-05-02 21:56:19 -04:00
build_systems python: always use a venv (#40773) 2024-05-06 16:17:35 +02:00
example_files
images Cherry-picking virtual dependencies (#35322) 2023-11-01 23:35:23 -07:00
tables AutotoolsPackage / MakefilePackage: add gmake build dependency (#40380) 2023-10-18 19:56:54 +02:00
.gitignore docs: Replace package list with packages.spack.io (#40251) 2023-10-01 05:36:22 +02:00
basic_usage.rst python: always use a venv (#40773) 2024-05-06 16:17:35 +02:00
binary_caches.rst Allow packages to be pushed to build cache after install from source (#42423) 2024-04-11 19:43:13 -06:00
bootstrapping.rst Fix spack find bootstrapping docs (#43074) 2024-03-07 14:13:32 +01:00
build_settings.rst Allow more control over which specs are reused (#42782) 2024-05-01 23:05:26 -04:00
build_systems.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
chain.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
command_index.in
conf.py compression.py: refactor + bug fix (#42367) 2024-01-31 07:59:07 +01:00
config_yaml.rst certs: fix interpolation and disallow relative paths (#44030) 2024-05-07 11:16:32 +02:00
configuration.rst Allow loading extensions through python entry-points (#42370) 2024-03-06 11:18:49 +01:00
containers.rst Remove Fedora 37 and 38, Ubuntu 18 from CI (#44006) 2024-05-06 15:51:45 +02:00
contribution_guide.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
developer_guide.rst Remove import distro from packages and docs (#43772) 2024-04-23 12:47:33 +02:00
environments.rst Include concrete environments with include_concrete (#33768) 2024-05-08 14:19:22 +02:00
extensions.rst Allow loading extensions through python entry-points (#42370) 2024-03-06 11:18:49 +01:00
features.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
frequently_asked_questions.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
getting_started.rst External package detection for compilers (#43464) 2024-05-06 10:33:33 +02:00
gpu_configuration.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
index.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
Makefile
mirrors.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
module_file_generation.svg
module_file_support.rst modules: allow autoload: run, like in environment views (#42743) 2024-03-04 08:49:45 +01:00
packages_yaml.rst develop: Add -b/--build-directory option to set build_directory package attribute (#39606) 2024-02-16 06:30:58 +00:00
packaging_guide.rst spack audit externals: allow selecting platforms and checking extra attributes (#43782) 2024-04-26 12:47:17 +02:00
pipelines.rst docs: git version section title + highlight issues (#42398) 2024-02-01 09:46:17 +01:00
replace_conda_homebrew.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
repositories.rst docs: fix typo (#42688) 2024-02-15 11:21:51 +01:00
requirements.txt build(deps): bump black from 24.4.0 to 24.4.2 in /lib/spack/docs (#43878) 2024-05-06 09:55:43 +02:00
signing.rst Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
spack.yaml Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00