diff options
author | Shoaib Meenai <smeenai@fb.com> | 2017-12-13 21:12:37 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2017-12-13 21:12:37 +0000 |
commit | 75aab6e625de8222e8b17f9e435e265ca7af257b (patch) | |
tree | 634a68fd1bf0ee1406d6d8d34b9eb76176ffac7b /llvm/lib/Analysis/LoopUnrollAnalyzer.cpp | |
parent | 3957bf30cc87d9b2789ea5d85a1d435e8e549f1b (diff) | |
download | bcm5719-llvm-75aab6e625de8222e8b17f9e435e265ca7af257b.tar.gz bcm5719-llvm-75aab6e625de8222e8b17f9e435e265ca7af257b.zip |
[cmake] Explicitly set VS 2017 compatibility
When cross-compiling using clang-cl 5.0 (which is currently the latest
stable release of the compiler), the default MS compatibility level is
set to VS 2013, which is too low to build LLVM. Explicitly set the
compatibility level to VS 2017 to support cross-compiling LLVM for
Windows using clang-cl 5.0. This will be a no-op when using clang-cl 6.0
and above, where the default MS compatibility level is already VS 2017.
Differential Revision: https://reviews.llvm.org/D41157
llvm-svn: 320616
Diffstat (limited to 'llvm/lib/Analysis/LoopUnrollAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions