[all-commits] [llvm/llvm-project] ee7ee7: Explicitly specify CMAKE_AR in WinMsvc.cmake
Gwen Mittertreiner via All-commits
all-commits at lists.llvm.org
Wed Sep 23 18:06:18 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ee7ee71f40e904a8380d6439ac4741304b4a2dfd
https://github.com/llvm/llvm-project/commit/ee7ee71f40e904a8380d6439ac4741304b4a2dfd
Author: Gwen Mittertreiner <gwenm at fb.com>
Date: 2020-09-23 (Wed, 23 Sep 2020)
Changed paths:
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
M llvm/cmake/platforms/WinMsvc.cmake
Log Message:
-----------
Explicitly specify CMAKE_AR in WinMsvc.cmake
As of cmake 3.18, cmake changes how it searches for compilers for
Windows (see
https://gitlab.kitware.com/cmake/cmake/-/commit/55196a1440e26917d40e6a7a3eb8d9fb323fa657)
and now finds llvm-ar instead of llvm-lib as CMAKE_AR. This explicitly
specifies CMAKE_AR as llvm-lib so the correct program is found.
Reviewed By: smeenai
Differential Revision: https://reviews.llvm.org/D88176
More information about the All-commits
mailing list