File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ $ErrorActionPreference = ' Stop'
2+
13if (! (Test-Path - Path " build" )) {
24 # in case the pygit2 package build/ workspace has not been created by cibuildwheel yet
35 mkdir build
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ variable. The following recipe shows you how to do it:
309309
310310 git clone -- depth= 1 - b v1.9.4 https:// github.com / libgit2/ libgit2.git
311311 $env: CMAKE_INSTALL_PREFIX = " C:/Dev/libgit2"
312- $env: CMAKE_GENERATOR = " Visual Studio 18 2026"
312+ $env: CMAKE_GENERATOR = " Visual Studio 17 2022 " # or "Visual Studio 18 2026"
313313 $env: CMAKE_GENERATOR_PLATFORM = " x64" # or "Win32" or "ARM64"
314314 cmake - B libgit2/ build - S libgit2
315315 cmake -- build libgit2/ build -- config release -- target install
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ environment.LIBGIT2 = "C:/libgit2_install_x86"
5555[[tool .cibuildwheel .overrides ]]
5656select =" *-win_arm64"
5757inherit.environment =" append"
58- environment.CMAKE_GENERATOR = " Visual Studio 18 2026 "
58+ environment.CMAKE_GENERATOR = " Visual Studio 17 2022 "
5959environment.CMAKE_GENERATOR_PLATFORM = " ARM64"
6060environment.CMAKE_INSTALL_PREFIX = " C:/libgit2_install_arm64"
6161environment.LIBGIT2 = " C:/libgit2_install_arm64"
You can’t perform that action at this time.
0 commit comments