Skip to content

Commit 70cb045

Browse files
committed
remove vs 2019 build support
1 parent 85eeaaa commit 70cb045

File tree

4 files changed

+0
-27
lines changed

4 files changed

+0
-27
lines changed

windows_build.bat

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,12 @@ set "setPythonPath=%cd%\bazel-out\x64_windows-opt\bin\src\python\binding"
5656
set "BAZEL_SH=C:\opt\msys64\usr\bin\bash.exe"
5757

5858
:: Bazel compilation settings
59-
set VS_2019_PRO="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional"
6059
set VS_2022_BT="C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
61-
IF /I EXIST %VS_2019_PRO% goto :msvc_pro
6260
IF /I EXIST %VS_2022_BT% goto :msvc_bt ELSE goto :msvc_error
6361

6462
:msvc_error
6563
echo [ERROR] Required MSVC compiler not installed
6664
goto :exit_build_error
67-
:msvc_pro
68-
echo [INFO] Using MSVC %VS_2019_PRO%
69-
set BAZEL_VS=%VS_2019_PRO%
70-
goto :msvc_end
7165
:msvc_bt
7266
echo [INFO] Using MSVC %VS_2022_BT%
7367
set BAZEL_VS=%VS_2022_BT%

windows_install_build_dependencies.bat

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,15 @@ set "PYTHONHOME=C:\opt\Python312"
4545
set "PATH=%setPath%"
4646

4747
:: Bazel compilation settings
48-
set VS_2019_PRO="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional"
4948
set VS_2022_BT="C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
50-
IF /I EXIST %VS_2019_PRO% goto :msvc_pro
5149
IF /I EXIST %VS_2022_BT% goto :msvc_bt ELSE goto :msvc_error
5250

5351
:msvc_error
5452
echo [ERROR] Required MSVC compiler not installed
5553
goto :exit_build_error
56-
:msvc_pro
57-
echo [INFO] Using MSVC %VS_2019_PRO%
58-
set BAZEL_VS=%VS_2019_PRO%
59-
goto :msvc_end
6054
:msvc_bt
6155
echo [INFO] Using MSVC %VS_2022_BT%
6256
set BAZEL_VS=%VS_2022_BT%
63-
:msvc_end
6457

6558
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
6659
::::::::::::::::::::::: Check directories

windows_setupvars.bat

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,17 @@ set "setPythonPath=%cd%\bazel-out\x64_windows-opt\bin\src\python\binding"
2020
set "BAZEL_SH=C:\opt\msys64\usr\bin\bash.exe"
2121

2222
:: Bazel compilation settings
23-
set VS_2019_PRO="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional"
2423
set VS_2022_BT="C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
25-
IF /I EXIST %VS_2019_PRO% goto :msvc_pro
2624
IF /I EXIST %VS_2022_BT% goto :msvc_bt ELSE goto :msvc_error
2725

2826
:msvc_error
2927
echo [ERROR] Required MSVC compiler not installed
3028
goto :exit_build_error
31-
:msvc_pro
32-
echo [INFO] Using MSVC %VS_2019_PRO%
33-
set BAZEL_VS=%VS_2019_PRO%
34-
goto :msvc_end
3529
:msvc_bt
3630
echo [INFO] Using MSVC %VS_2022_BT%
3731
set BAZEL_VS=%VS_2022_BT%
3832

3933
:: Bazel compilation settings end
40-
:msvc_end
4134
set "BAZEL_VC=%BAZEL_VS:"=%\VC"
4235
set "BAZEL_VC_FULL_VERSION=14.29.30133"
4336

windows_test.bat

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,16 @@ set "setPythonPath=%cd%\bazel-out\x64_windows-opt\bin\src\python\binding"
4545
set "BAZEL_SH=C:\opt\msys64\usr\bin\bash.exe"
4646

4747
:: Bazel compilation settings
48-
set VS_2019_PRO="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional"
4948
set VS_2022_BT="C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
50-
IF /I EXIST %VS_2019_PRO% goto :msvc_pro
5149
IF /I EXIST %VS_2022_BT% goto :msvc_bt ELSE goto :msvc_error
5250
:msvc_error
5351
echo [ERROR] Required MSVC compiler not installed
5452
goto :exit_build_error
55-
:msvc_pro
56-
echo [INFO] Using MSVC %VS_2019_PRO%
57-
set BAZEL_VS=%VS_2019_PRO%
58-
goto :msvc_end
5953
:msvc_bt
6054
echo [INFO] Using MSVC %VS_2022_BT%
6155
set BAZEL_VS=%VS_2022_BT%
6256

6357
:: Bazel compilation settings end
64-
:msvc_end
6558
set "BAZEL_VC=%BAZEL_VS:"=%\VC"
6659
set "BAZEL_VC_FULL_VERSION=14.29.30133"
6760

0 commit comments

Comments
 (0)