spack/lib/spack
George Hartzell c456dfb60f 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.
2017-02-03 15:53:30 -08:00
..
docs DOCS: Examplify what file types are automatically extracted (#2955) 2017-01-31 08:26:19 -08:00
env Add support for IBM threaded compilers: xl*_r (#2894) 2017-01-25 16:26:17 -07:00
external Get Rid of nobuild, nolink, and alldeps (#2765) 2017-01-07 19:59:02 -08:00
llnl Spack: Correct fix_darwin_install_name (#2886) 2017-01-20 10:22:59 -08:00
spack Make module autoload warnings configurable (#2763) 2017-02-03 15:53:30 -08:00