From cb510519a1cfced2ab17a8ee33cd7ea33bfe7568 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 8 Sep 2026 16:49:04 +0500 Subject: [PATCH] run-cmake: drop default value for `SWIG_INSTALL_DIR` Caching of version path was introduced in c5f6d47, awhile ago, removing it, since all new installations are already using the cache instead of this default fallback. `robocopy` line was an artifact from old layout. --- win/build-deps.cmd | 1 - win/run-cmake.bat | 3 --- 2 files changed, 4 deletions(-) diff --git a/win/build-deps.cmd b/win/build-deps.cmd index c8fc144902..da9c5eb980 100644 --- a/win/build-deps.cmd +++ b/win/build-deps.cmd @@ -620,7 +620,6 @@ call :BuildCMakeProject "%DEPENDENCY_DIR%\%BUILD_DIR%" Release IF NOT %ERRORLEVEL%==0 GOTO :Error call :InstallCMakeProject "%DEPENDENCY_DIR%\%BUILD_DIR%" Release IF NOT %ERRORLEVEL%==0 GOTO :Error -robocopy "%INSTALL_DIR%\swigwin\bin" "%INSTALL_DIR%\swigwin" /move /e goto :Successful diff --git a/win/run-cmake.bat b/win/run-cmake.bat index 9cc79efcd9..3620445c2c 100755 --- a/win/run-cmake.bat +++ b/win/run-cmake.bat @@ -104,9 +104,6 @@ for /f "usebackq delims=" %%v in (` set PYTHON_INCLUDE_DIR=%PYTHONHOME%\include set PYTHON_LIBRARY=%PYTHONHOME%\libs\python%PY_VER_MAJOR_MINOR%.lib -:: `swigwin` is a legacy installation folder name, before we started using versioned folders. -:: we can remove it later. -if not defined SWIG_INSTALL_DIR set SWIG_INSTALL_DIR=%INSTALL_DIR%\swigwin set JSON_INCLUDE_DIR=%INSTALL_DIR%\json if defined ADD_COMMIT_SHA ( set ADD_COMMIT_SHA=ON