[all-commits] [llvm/llvm-project] af5f46: MSVC: support version preference with search
Saleem Abdulrasool via All-commits
all-commits at lists.llvm.org
Mon Mar 13 09:25:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af5f468228472ef2d4f58c2ac51842d4a6d91c9d
https://github.com/llvm/llvm-project/commit/af5f468228472ef2d4f58c2ac51842d4a6d91c9d
Author: Saleem Abdulrasool <compnerd at compnerd.org>
Date: 2023-03-13 (Mon, 13 Mar 2023)
Changed paths:
M clang/lib/Driver/ToolChains/MSVC.cpp
M lld/COFF/Driver.cpp
M llvm/include/llvm/WindowsDriver/MSVCPaths.h
M llvm/lib/ExecutionEngine/Orc/COFFVCRuntimeSupport.cpp
M llvm/lib/WindowsDriver/MSVCPaths.cpp
Log Message:
-----------
MSVC: support version preference with search
Extend the logic for the WinSDK and UCRT handling to prefer a user
specified version of the VisualC++ tools and Windows SDK. This allows
us to now perform the regular search for the installation but select the
exact version of the SDK or VC++ tools to override the latest version.
Similar to the other flags controlling this behaviour, if the user
specifies a value, we will not perform validation on the input and will
attempt to prefer that, particularly in the case of VisualC++ tools
where no fallback occurs.
Reviewed by: hans
Differential Revision: https://reviews.llvm.org/D145517
More information about the All-commits
mailing list