diff options
author | George Hartzell <hartzell@alerce.com> | 2017-02-03 15:53:30 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-02-03 15:53:30 -0800 |
commit | c456dfb60fdcd24448140278f29f0e9d1de95800 (patch) | |
tree | c6c7a3ebf6626301033bca4e54af7b83a5e6ceac /LICENSE | |
parent | b28d8345ec1fbc07493f42cb784a2bd28c7ddde8 (diff) | |
download | spack-c456dfb60fdcd24448140278f29f0e9d1de95800.tar.gz spack-c456dfb60fdcd24448140278f29f0e9d1de95800.tar.bz2 spack-c456dfb60fdcd24448140278f29f0e9d1de95800.tar.xz spack-c456dfb60fdcd24448140278f29f0e9d1de95800.zip |
Make module autoload warnings configurable (#2763)
Modules generated by the module creation machinery currently print out
a notice that warnts the user that things are being autoloaded. In
some situations those warnings are problematic. See #2754 for
discussion.
This is a first cut at optionally disabling the warning messages:
- adds a helper tothe EnvModule base class that encapsulates the
config file variable;
- adds a method to the base class that provides a default (empty)
code fragment for generating a warning message;
- passes the warning fragment into the bit that formats the autoload
string;
- adds specialized autload_warner() methods in the tcl and lmod
subclasses;; and finally
- touches up the autoload_format strings in the specialized classes.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions