[PATCH] D72403: [MLIR] Fix ML IR build on Windows with Visual Studio
Stella Stamenova via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 10:49:47 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG48b14e58abc5: [MLIR] Fix ML IR build on Windows with Visual Studio (authored by stella.stamenova).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72403/new/
https://reviews.llvm.org/D72403
Files:
mlir/CMakeLists.txt
Index: mlir/CMakeLists.txt
===================================================================
--- mlir/CMakeLists.txt
+++ mlir/CMakeLists.txt
@@ -49,7 +49,7 @@
ENDFOREACH(LIB)
elseif(MSVC)
FOREACH(LIB ${ARGN})
- string(CONCAT link_flags ${link_flags} "/WHOLEARCHIVE:lib/${LIB}.lib ")
+ string(CONCAT link_flags ${link_flags} "/WHOLEARCHIVE:${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib/${LIB}.lib ")
ENDFOREACH(LIB)
else()
set(link_flags "-L${CMAKE_BINARY_DIR}/lib -Wl,--whole-archive,")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72403.236864.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200108/db5156ff/attachment.bin>
More information about the llvm-commits
mailing list