diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2019-12-04 20:17:40 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-04 20:55:50 -0800 |
commit | 03a5771b9d38ba3e01385a7548120b3a71e604eb (patch) | |
tree | 38bb69ff7200074de6d1d5938c6cc9fe04893da6 /etc | |
parent | a93a6136682debfd58d295e3035ad2c6d142bda1 (diff) | |
download | spack-03a5771b9d38ba3e01385a7548120b3a71e604eb.tar.gz spack-03a5771b9d38ba3e01385a7548120b3a71e604eb.tar.bz2 spack-03a5771b9d38ba3e01385a7548120b3a71e604eb.tar.xz spack-03a5771b9d38ba3e01385a7548120b3a71e604eb.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 'etc')
0 files changed, 0 insertions, 0 deletions