diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-21 11:34:12 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-23 23:18:45 -0800 |
commit | 79ddf6cf0daa95ffef3aa1457b893bb245fa23de (patch) | |
tree | 8864b44d8aab78a717f3a362824c1fe233ee4bec /var | |
parent | be6d7db2a81d9013c4fd05c15b2a01288c5725f0 (diff) | |
download | spack-79ddf6cf0daa95ffef3aa1457b893bb245fa23de.tar.gz spack-79ddf6cf0daa95ffef3aa1457b893bb245fa23de.tar.bz2 spack-79ddf6cf0daa95ffef3aa1457b893bb245fa23de.tar.xz spack-79ddf6cf0daa95ffef3aa1457b893bb245fa23de.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 'var')
0 files changed, 0 insertions, 0 deletions