diff options
author | George Hartzell <hartzell@alerce.com> | 2017-02-03 15:42:46 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-02-03 15:42:46 -0800 |
commit | 5a836fd06eb5a0042ce4b245a858a77129703d38 (patch) | |
tree | a5d9e8bf16a077272a881075387c81369f79ead0 /README.md | |
parent | acb9281dbf41c30535d18a9adb432e218b1f22b3 (diff) | |
download | spack-5a836fd06eb5a0042ce4b245a858a77129703d38.tar.gz spack-5a836fd06eb5a0042ce4b245a858a77129703d38.tar.bz2 spack-5a836fd06eb5a0042ce4b245a858a77129703d38.tar.xz spack-5a836fd06eb5a0042ce4b245a858a77129703d38.zip |
Blacklist implicit packages for modulefile generation (#2603)
Add the ability to the modules generation process to blacklist
packages that were installed implicitly. One can still whitelist
modules that were installed implicitly.
This changes adds a `blacklist_implicts` boolean as a peer to the
`whitelist` and `blacklist` arrays, e.g.:
```
modules:
enable::
- lmod
lmod:
whitelist:
- 'lua'
- 'py-setuptools'
blacklist:
- '%gcc@4.8.3'
blacklist_implicits: True
```
It adds a small helper in `spec.py` and then touches up the package
filtering code in `modules.py`.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions