spack/share/spack/qa
Greg Becker 7490d63c38
Separable module configuration -- without the bugs this time (#23703)
Currently, module configurations are inconsistent because modulefiles are generated with the configs for the active environment, but are shared among all environments (and spack outside any environment).

This PR fixes that by allowing Spack environments (or other spack config scopes) to define additional sets of modules to generate. Each set of modules can enable either lmod or tcl modules, and contains all of the previously available module configuration. The user defines the name of each module set -- the set configured in Spack by default is named "default", and is the one returned by module manipulation commands in the absence of user intervention.

As part of this change, the module roots configuration moved from the config section to inside each module configuration.

Additionally, it adds a feature that the modulefiles for an environment can be configured to be relative to an environment view rather than the underlying prefix. This will not be enabled by default, as it should only be enabled within an environment and for non-default views constructed with separate projections per-spec.
2021-05-28 14:12:05 -07:00
..
configuration Add new RubyPackage build system base class (#18199) 2020-09-02 16:26:36 -07:00
bashcov coverage: use kcov to get coverage for our cc script 2018-12-29 23:47:29 -08:00
completion-test.sh copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
flake8_formatter.py PythonPackage: url -> pypi (#20610) 2020-12-29 16:44:04 -08:00
run-build-tests copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
run-doc-tests copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
run-shell-tests Speed-up CI by reorganizing tests (#22247) 2021-03-16 08:16:31 -07:00
run-style-tests copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
run-unit-tests Dyninst: add elfutils versioning (#19648) 2021-04-27 07:15:37 -05:00
setup-env-test.csh copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
setup-env-test.fish copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
setup-env-test.sh Separable module configuration -- without the bugs this time (#23703) 2021-05-28 14:12:05 -07:00
setup.sh copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
test-framework.sh copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00