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.
This commit is contained in:
parent
c0eb2cf9e6
commit
521cc41db0
1 changed files with 0 additions and 1 deletions
|
@ -52,7 +52,6 @@ if defined py_path (
|
||||||
|
|
||||||
if defined py_exe (
|
if defined py_exe (
|
||||||
"%py_exe%" "%SPACK_ROOT%\bin\haspywin.py"
|
"%py_exe%" "%SPACK_ROOT%\bin\haspywin.py"
|
||||||
"%py_exe%" "%SPACK_ROOT%\bin\spack" external find python >NUL
|
|
||||||
)
|
)
|
||||||
|
|
||||||
set "EDITOR=notepad"
|
set "EDITOR=notepad"
|
||||||
|
|
Loading…
Reference in a new issue