[PATCH] D88176: Explicitly specify CMAKE_AR in WinMsvc.cmake
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 23:58:15 PDT 2020
mstorsjo added inline comments.
================
Comment at: llvm/cmake/modules/LLVMExternalProjectUtils.cmake:150
+ if(_cmake_system_name STREQUAL Windows)
+ list(APPEND compiler_args -DCMAKE_AR=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-lib${CMAKE_EXECUTABLE_SUFFIX})
+ else()
----------------
Not familiar with what this cmake file actually does and when it matters, but for mingw setups, the system name would be windows (I presume?) but you'd still want to use llvm-ar.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88176/new/
https://reviews.llvm.org/D88176
More information about the llvm-commits
mailing list