From 521cc41db0b1e294a7e61eea6b0725139044c173 Mon Sep 17 00:00:00 2001 From: John Parent Date: Fri, 6 Jan 2023 13:26:44 -0500 Subject: 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. --- bin/spack_cmd.bat | 1 - 1 file changed, 1 deletion(-) (limited to 'bin') 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" -- cgit v1.2.3-70-g09d2