Skip to content
Snippets Groups Projects
Unverified Commit 06418a3d authored by Todd Gamblin's avatar Todd Gamblin Committed by GitHub
Browse files

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
parent d006139e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment