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
Pass through Visual Studio version from build.sh into build/LLVM.lua, so that
the downloaded version is consistent with build.sh's view rather than the host
command prompt's view.
Brief Description
build/llvm/LLVM.lua detects the VS version from either cl.exe or msbuild.exe, but build/build.sh specifies (currently)
vs=vs2022
.If build.sh is run from a VS developer command prompt corresponding to a different version then
generate()
will fail the following way:OS: Windows / OS X / Linux (include version and/or distro)
Used headers
N/A
Used settings
Target: MSVC/GCC/Clang
Other settings:
Stack trace or incompilable generated code
N/A
Sample fix (I didn't check if other uses of premake.sh need --vs as well):
The text was updated successfully, but these errors were encountered: