spack/lib/spack
Greg Becker 5f59821433
BuildEnvironment: accumulate module changes to poke to all relevant modules (#32340)
Currently, module changes from `setup_dependent_package` are applied only to the module of the package class, but not to any parent classes' modules between the package class module and `spack.package_base`.

In this PR, we create a custom class to accumulate module changes, and apply those changes to each class that requires it. This design allows us to code for a single module, while applying the changes to multiple modules as needed under the hood, without requiring the user to reason about package inheritance.
2022-10-04 13:06:50 -07:00
..
docs Fix typo in documentation (#32984) 2022-10-04 19:54:40 +02:00
env Revert "strip -Werror: all specific or none (#30284)" (#30878) 2022-05-26 14:17:01 -07:00
external Use threading.TIMEOUT_MAX when available (#32399) 2022-08-26 17:37:56 -06:00
llnl Fetching/decompressing: use magic numbers (#31589) 2022-09-26 00:01:42 -07:00
spack BuildEnvironment: accumulate module changes to poke to all relevant modules (#32340) 2022-10-04 13:06:50 -07:00