summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2022-02-15 08:43:36 -0800
committerGreg Becker <becker33@llnl.gov>2022-02-16 10:17:18 -0800
commitb1ff9c05bca6af931d536ac2b0764e4f22e74f2f (patch)
treed7aef68de363f4e9fa5ca845951d3e42ce1e4d83 /var
parentd33973df6c367581c26d3a112180b187dce57ba1 (diff)
downloadspack-b1ff9c05bca6af931d536ac2b0764e4f22e74f2f.tar.gz
spack-b1ff9c05bca6af931d536ac2b0764e4f22e74f2f.tar.bz2
spack-b1ff9c05bca6af931d536ac2b0764e4f22e74f2f.tar.xz
spack-b1ff9c05bca6af931d536ac2b0764e4f22e74f2f.zip
concretizer: refactor argument passing for reuse
Reuse previously was a very invasive change that required parameters to be added to all the methods that called `concretize()` on a `Spec` object. With the addition of concretizer configuration, we can use the config system to simplify this argument passing and keep the code cleaner. We decided that concretizer config options should be read at `Solver` instantiation time, and if config changes between instnatiation of a particular solver and `solve()` invocation, the `Solver` should use the settings from `__init__()`. - [x] remove `reuse` keyword argument from most concretize functions - [x] refactor usages to use `spack.config.override("concretizer:reuse", True)` - [x] rework argument passing in `Solver` so that parameters are set from config at instantiation time
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions