Skip to content

Commit ec96264

Browse files
committed
Bump generator version for Visual Studio.
1 parent a7fb305 commit ec96264

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure-pipelines-windows-steps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ steps:
2222
- powershell: |
2323
$rootdir = $pwd
2424
cd armadillo-11.4.1/
25-
cmake -G "Visual Studio 16 2019" `
25+
cmake -G "Visual Studio 17 2022" `
2626
-A $env:WIN_ARCH `
2727
-DBLAS_LIBRARY:FILEPATH="$rootdir\OpenBLAS-0.3.21\lib\libopenblas.lib" `
2828
-DLAPACK_LIBRARY:FILEPATH="$rootdir\OpenBLAS-0.3.21\lib\libopenblas.lib" `
@@ -61,7 +61,7 @@ steps:
6161
cd mlpack
6262
mkdir build
6363
cd build
64-
cmake -G "Visual Studio 16 2019" `
64+
cmake -G "Visual Studio 17 2022" `
6565
-DBLAS_LIBRARIES:FILEPATH="$rootdir\OpenBLAS-0.3.21\lib\libopenblas.lib" `
6666
-DLAPACK_LIBRARIES:FILEPATH="$rootdir\OpenBLAS-0.3.21\lib\libopenblas.lib" `
6767
-DARMADILLO_INCLUDE_DIR="$rootdir\armadillo-11.4.1\tmp\include" `
@@ -78,7 +78,7 @@ steps:
7878
$env:CIBW_REPAIR_WHEEL_COMMAND_WINDOWS = "delvewheel repair --add-path $pwd/OpenBLAS-0.3.21/bin/ -w {dest_dir} {wheel}"
7979
$env:CIBW_BEFORE_BUILD = $env:BUILD_SCRIPT
8080
$env:CIBW_BUILD_VERBOSITY = 1
81-
$env:VS_GENERATOR = "Visual Studio 16 2019"
81+
$env:VS_GENERATOR = "Visual Studio 17 2022"
8282
$env:OPENBLAS_LIB = "$pwd/OpenBLAS-0.3.21/lib/libopenblas.lib"
8383
$env:OPENBLAS_DLL = "$pwd/OpenBLAS-0.3.21/bin/libopenblas.dll"
8484
cibuildwheel --output-dir wheelhouse mlpack/build/src/mlpack/bindings/python/

0 commit comments

Comments
 (0)