diff options
author | John Parent <john.parent@kitware.com> | 2023-01-06 13:26:44 -0500 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2023-01-09 09:14:17 -0800 |
commit | 521cc41db0b1e294a7e61eea6b0725139044c173 (patch) | |
tree | 34dde7283b5cb3023a99aaedbdd96bd7e9f6ce2c | |
parent | c0eb2cf9e6708eecfc74189f97a9790515f64999 (diff) | |
download | spack-521cc41db0b1e294a7e61eea6b0725139044c173.tar.gz spack-521cc41db0b1e294a7e61eea6b0725139044c173.tar.bz2 spack-521cc41db0b1e294a7e61eea6b0725139044c173.tar.xz spack-521cc41db0b1e294a7e61eea6b0725139044c173.zip |
Remove Spack external find from startup
Spack was running an external detection of Python during each invocation
of the setup script for Windows CMD/PWSH, which has dramatic performance
implications each time the script is invoked, and is completely
unneccesary. Remove this operation.
-rw-r--r-- | bin/spack_cmd.bat | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/spack_cmd.bat b/bin/spack_cmd.bat index 6edc6da2c2..392e42d29b 100644 --- a/bin/spack_cmd.bat +++ b/bin/spack_cmd.bat @@ -52,7 +52,6 @@ if defined py_path ( if defined py_exe ( "%py_exe%" "%SPACK_ROOT%\bin\haspywin.py" - "%py_exe%" "%SPACK_ROOT%\bin\spack" external find python >NUL ) set "EDITOR=notepad" |