Resolve "Error finding an LLVM build" (#1831)#1832
Resolve "Error finding an LLVM build" (#1831)#1832
Conversation
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.
|
@dotnet-policy-service agree |
|
The only problem I see with this is that now we will always set the vs option in Premake, so it will not act as an override. I think you can rename the existing |
|
Sorry about the delay, I don't have too much time to work on this. (If you want to finish this up I don't mind)
Is the idea here to provide a different override for LLVM's VS version than the one used to build CppSharp? Would this warrant a new top-level argument in build.sh (say, |
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.
This should fix #1831.
Questions (1st time I've written any premake...):
--file=LLVM.lua?newoptionexist? Premake didn't seem to need it.newoptionhave a list of supported versions? Seems like build.sh is responsible for validation here, but I'm not sure