Skip to content

Commit

Permalink
spack install: simplify behavior when inside environments (spack#35206)
Browse files Browse the repository at this point in the history
Example one:

```
spack install --add x y z
```

is equivalent to

```
spack add x y z
spack concretize
spack install --only-concrete
```

where `--only-concrete` installs without modifying spack.yaml/spack.lock

Example two:

```
spack install
```

concretizes current spack.yaml if outdated and installs all specs.

Example three:

```
spack install x y z
```

concretizes current spack.yaml if outdated and installs *only* concrete
specs in the environment that match abstract specs `x`, `y`, or `z`.
  • Loading branch information
haampie authored Mar 20, 2023
1 parent 7e981d8 commit 88d7802
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 219 deletions.
Loading

0 comments on commit 88d7802

Please sign in to comment.