You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixesindygreg#268
- add the '-prerelease' flag to the vswhere subcommand,
- give 'no vs found' error if the command returns empty string,
- catch vswhere returning multiple installations,
fixesindygreg#268
- add the '-prerelease' flag to the vswhere subcommand,
- give 'no vs found' error if the command returns empty string,
- catch vswhere returning multiple installations,
- in-case of failure, report vswhere command line, placing
any arguments that contain spaces in quotes
Command line:
py.exe build-windows.py --profile noopt --vs 2022 --python cpython-3.12 --sh c:\cygwin64\bin\bash.exe
downloads strawberry perl, process libffi, and then fails with the obtuse:
VC\Auxiliary\Build\vcvarsall.bat not found.
This appears to be two fold:
1- the result of the subcommand in find_vs_path is not checked for emptiness,
2- the command is not passing the "-prerelease" option to vswhere,
An easy fix would be:
But I suspect this would kick the can down the road to an additional problem if you had vs2022 and vs2022 preview installed.
The text was updated successfully, but these errors were encountered: