[PATCH] D63687: gn build: Use thin archives on Windows too when using lld
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 22 08:23:17 PDT 2019
thakis created this revision.
thakis added a reviewer: pcc.
Herald added a project: LLVM.
(FIXME: Measure build time and disk use impact, put numbers here.)
https://reviews.llvm.org/D63687
Files:
llvm/utils/gn/build/BUILD.gn
Index: llvm/utils/gn/build/BUILD.gn
===================================================================
--- llvm/utils/gn/build/BUILD.gn
+++ llvm/utils/gn/build/BUILD.gn
@@ -185,6 +185,8 @@
config("thin_archive") {
if (current_os != "win" && current_os != "mac") {
arflags = [ "-T" ]
+ } else if (current_os == "win" && use_lld) {
+ arflags = [ "/llvmlibthin" ]
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63687.206119.patch
Type: text/x-patch
Size: 385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190622/065bd699/attachment.bin>
More information about the llvm-commits
mailing list