diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-03-24 10:54:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 03:54:33 -0600 |
commit | 59e522e8154e28d7af3f0cc8538e5a94d1345352 (patch) | |
tree | 04b4ce3b4cb81c1a0f5bf8cbec11dc98e01a1051 /LICENSE-MIT | |
parent | 011a8b3f3ec044ab906597ca39e53639a6bf1df6 (diff) | |
download | spack-59e522e8154e28d7af3f0cc8538e5a94d1345352.tar.gz spack-59e522e8154e28d7af3f0cc8538e5a94d1345352.tar.bz2 spack-59e522e8154e28d7af3f0cc8538e5a94d1345352.tar.xz spack-59e522e8154e28d7af3f0cc8538e5a94d1345352.zip |
environment views: single pass view generation (#29443)
Reduces the number of stat calls to a bare minimum:
- Single pass over src prefixes
- Handle projection clashes in memory
Symlinked directories in the src prefixes are now conditionally
transformed into directories with symlinks in the dst dir. Notably
`intel-mkl`, `cuda` and `qt` has top-level symlinked directories that
previously resulted in empty directories in the view. We now avoid
cycles and possible exponential blowup by only expanding symlinks that:
- point to dirs deeper in the folder structure;
- are a fixed depth of 2.
Diffstat (limited to 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions