diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2024-10-04 17:43:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-04 17:43:10 -0700 |
commit | d763d6f7388216b333bff77d8f79438667003ee8 (patch) | |
tree | 211648b6776b960c2e520585320f10c5c4477920 /.github/workflows | |
parent | d87464e9955456c2bcdffb9c3b1aa39f3a8f252b (diff) | |
download | spack-d763d6f7388216b333bff77d8f79438667003ee8.tar.gz spack-d763d6f7388216b333bff77d8f79438667003ee8.tar.bz2 spack-d763d6f7388216b333bff77d8f79438667003ee8.tar.xz spack-d763d6f7388216b333bff77d8f79438667003ee8.zip |
`gc`: restrict to specific specs (#46790)
`spack gc` has so far been a global or environment-specific thing.
This adds the ability to restrict garbage collection to specific specs,
e.g. if you *just* want to get rid of all your unused python installations,
you could write:
```console
spack gc python
```
- [x] add `constraint` arg to `spack gc`
- [x] add a simple test
Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions