Speedup environment activation (#13557)
* Add a transaction around repeated calls to `spec.prefix` in the activation process * cache the computation of home in the python package to speed up setting deps * ensure that module-scope variables are only set *once* per module
Showing
- lib/spack/spack/build_environment.py 9 additions, 0 deletionslib/spack/spack/build_environment.py
- lib/spack/spack/environment.py 4 additions, 2 deletionslib/spack/spack/environment.py
- var/spack/repos/builtin/packages/python/package.py 8 additions, 2 deletionsvar/spack/repos/builtin/packages/python/package.py
Please register or sign in to comment