diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-07-16 15:43:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 15:43:44 -0700 |
commit | 06418a3dcd5dda0c45151ceec08aa91d8e3fa651 (patch) | |
tree | 6c95acba1b2799e8e809d051c46e755f44a95198 /var | |
parent | d006139e3cb7fc1fe42792a4961494db31ded7c9 (diff) | |
download | spack-06418a3dcd5dda0c45151ceec08aa91d8e3fa651.tar.gz spack-06418a3dcd5dda0c45151ceec08aa91d8e3fa651.tar.bz2 spack-06418a3dcd5dda0c45151ceec08aa91d8e3fa651.tar.xz spack-06418a3dcd5dda0c45151ceec08aa91d8e3fa651.zip |
add `spack --print-shell-vars` to speed up `setup-env.[c]sh` (#8101)
- The setup-env.sh script currently makes two calls to spack, but it
should only need to make one.
- Add a fast-path shell setup routine in `main.py` to allow the shell
setup to happen in a single, fast call that doesn't load more than it
needs to.
- This simplifies setup code, as it has to eval what Spack prints
- TODO: consider eventually making the whole setup script the output of a
spack command
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions