diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-21 11:34:12 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-23 18:36:56 -0800 |
commit | c83e365c5931f6421c0d0cdcd4967010406c3622 (patch) | |
tree | d29e67bd7511259d411802aeca710c9aca779e8d /.flake8 | |
parent | 0fb32800118c2af0a12a3f3fdb999daf99c45d4d (diff) | |
download | spack-c83e365c5931f6421c0d0cdcd4967010406c3622.tar.gz spack-c83e365c5931f6421c0d0cdcd4967010406c3622.tar.bz2 spack-c83e365c5931f6421c0d0cdcd4967010406c3622.tar.xz spack-c83e365c5931f6421c0d0cdcd4967010406c3622.zip |
performance: only regenerate env views once in `spack install`
`spack install` previously concretized, writes the entire environment
out, regenerated views, then wrote and regenerated views
again. Regenerating views is slow, so ensure that we only do that once.
- [x] add an option to env.write() to skip view regeneration
- [x] add a note on whether regenerate_views() shouldn't just be a
separate operation -- not clear if we want to keep it as part of write
to ensure consistency, or take it out to avoid performance issues.
Diffstat (limited to '.flake8')
0 files changed, 0 insertions, 0 deletions