diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2019-12-04 20:17:40 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-04 19:17:40 -0800 |
commit | e5f04f9abc90d159379c167eec3ccbe5173dc395 (patch) | |
tree | db87f9b9e6c7ea0dde126db815d73d7a6345e863 /.readthedocs.yml | |
parent | ba7ac53b75ed78553f9fb169ca53e659bd5ff0fb (diff) | |
download | spack-e5f04f9abc90d159379c167eec3ccbe5173dc395.tar.gz spack-e5f04f9abc90d159379c167eec3ccbe5173dc395.tar.bz2 spack-e5f04f9abc90d159379c167eec3ccbe5173dc395.tar.xz spack-e5f04f9abc90d159379c167eec3ccbe5173dc395.zip |
Bugfix: allow missing modules if they are blacklisted (#13540)
`spack module loads` and `spack module find` previously failed if any upstream modules were missing. This prevented it from being used with upstreams (or, really, any spack instance) that blacklisted modules.
This PR makes module finding is now more lenient (especially for blacklisted modules).
- `spack module find` now does not report an error if the spec is blacklisted
- instead, it prints a single warning if any modules will be omitted from the loads file
- It comments the missing modules out of the loads file so the user can see what's missing
- Debug messages are also printed so users can check this with `spack -d...`
- also added tests for new functionality
Diffstat (limited to '.readthedocs.yml')
0 files changed, 0 insertions, 0 deletions