diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2020-01-02 19:51:19 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-11-17 10:04:13 -0800 |
commit | 9b1f05df009123ae03b2a9c7971a06e148c4e56c (patch) | |
tree | d8ec30468760760087b70d20bcb2fe53f20e4529 /pytest.ini | |
parent | e31be3da565dd353cdb75db195c047ab154a8b56 (diff) | |
download | spack-9b1f05df009123ae03b2a9c7971a06e148c4e56c.tar.gz spack-9b1f05df009123ae03b2a9c7971a06e148c4e56c.tar.bz2 spack-9b1f05df009123ae03b2a9c7971a06e148c4e56c.tar.xz spack-9b1f05df009123ae03b2a9c7971a06e148c4e56c.zip |
concretizer bugfix: fix generations of conditionals for dependencies
Spack was generating the same dependency connstraints twice in the output ASP:
```
declared_dependency("abinit", "hdf5", "link")
:- node("abinit"),
variant_value("abinit", "mpi", "True"),
variant_value("abinit", "mpi", "True").
```
This was because `AspFunction` was modifying itself when called.
- [x] fix `AspFunction` so that every call returns a new object
Diffstat (limited to 'pytest.ini')
0 files changed, 0 insertions, 0 deletions