No longer append clang directories to path in SCons environment when building liblouis and update readme about Visual Studio#12728
Conversation
seanbudd
left a comment
There was a problem hiding this comment.
I think we will need to add a changelog entry in the "for developers" section mentioning this, as it has been 2 years since the minimum VS version has been changed. Also, a warning to the NVDA developer mailing list that they need to update VS to be able to build NVDA.
It looks like since then, Microsoft added LLVM to the path of the Visual Studio tools command prompt, which constructor batch file is used by SCons.
Do we know which version of VS introduced this change? It looks like 16.10 has this change as AppVeyor built NVDA fine. If you aren't sure of this that's okay, VS 16.11 and 16.10 both work fine as a new minimum requirement.
|
Suggested changelog entry: |
Co-authored-by: Sean Budd <seanbudd123@gmail.com>
seanbudd
left a comment
There was a problem hiding this comment.
Thanks @LeonarddeR, I'm going to remind the nvda developer email list to update VS after merging.
Link to issue number:
None
Summary of the issue:
In the past, we had to explicitly dig up the dirs where clang was installed inside Visual Studio. It looks like since then, Microsoft added LLVM to the path of the Visual Studio tools command prompt, which constructor batch file is used by SCons.
Description of how this pull request fixes the issue:
No longer add Clang to the path. Note that we still check its installation.
I also updated the readme according to the new design of the Visual Studio installer, thereby changing the following:
Testing strategy:
Tested that NVDA builds with Visual Studio build tools 16.11
Known issues with pull request:
None known
Change log entries:
Changes for developers:
Code Review Checklist: