Skip to content

Commit f084f34

Browse files
authored
Build audio with VS2022 (#3878)
1 parent 2709b65 commit f084f34

File tree

10 files changed

+5
-340
lines changed

10 files changed

+5
-340
lines changed

.github/workflows/unittest-windows-gpu.yml

-3
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,5 @@ jobs:
4848
4949
5050
.github/scripts/unittest-windows/setup_env.sh
51-
./packaging/windows/internal/cuda_install.bat
52-
./packaging/windows/internal/driver_update.bat
53-
5451
.github/scripts/unittest-windows/install.sh
5552
.github/scripts/unittest-windows/run_test.sh

docs/source/build.windows.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Please follow the instruction at https://visualstudio.microsoft.com/downloads/,
1515

1616
.. note::
1717

18-
The official binary distribution are compiled with MSVC 2019.
19-
The following section uses path from MSVC 2019 Community Edition.
18+
The official binary distribution are compiled with MSVC 2022.
19+
The following section uses path from MSVC 2022 Community Edition.
2020

2121
Conda
2222
~~~~~
@@ -66,7 +66,7 @@ The following combination is known to work.
6666

6767
.. code-block::
6868
69-
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
69+
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
7070
7171
Please makes sure that ``cl`` command is recognized.
7272

packaging/vc_env_helper.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@echo on
22

3-
set VC_VERSION_LOWER=16
4-
set VC_VERSION_UPPER=17
3+
set VC_VERSION_LOWER=17
4+
set VC_VERSION_UPPER=18
55

66
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -legacy -products * -version [%VC_VERSION_LOWER%^,%VC_VERSION_UPPER%^) -property installationPath`) do (
77
if exist "%%i" if exist "%%i\VC\Auxiliary\Build\vcvarsall.bat" (

packaging/vs2019/activate.bat

-44
This file was deleted.

packaging/vs2019/conda_build_config.yaml

-21
This file was deleted.

packaging/vs2019/install_activate.bat

-27
This file was deleted.

packaging/vs2019/install_runtime.bat

-49
This file was deleted.

packaging/vs2019/meta.yaml

-24
This file was deleted.

packaging/windows/internal/cuda_install.bat

-142
This file was deleted.

packaging/windows/internal/driver_update.bat

-25
This file was deleted.

0 commit comments

Comments
 (0)