[PATCH] D56630: gn build: Unbreak Windows build
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 12 04:01:11 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL351004: gn build: Unbreak Windows build (authored by nico, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D56630?vs=181411&id=181436#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56630/new/
https://reviews.llvm.org/D56630
Files:
llvm/trunk/utils/gn/secondary/llvm/tools/lto/BUILD.gn
llvm/trunk/utils/gn/secondary/llvm/unittests/ExecutionEngine/MCJIT/BUILD.gn
Index: llvm/trunk/utils/gn/secondary/llvm/tools/lto/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/secondary/llvm/tools/lto/BUILD.gn
+++ llvm/trunk/utils/gn/secondary/llvm/tools/lto/BUILD.gn
@@ -1,6 +1,6 @@
import("//llvm/version.gni")
-lto_target_type = "loadable_module"
+lto_target_type = "shared_library"
if (host_os == "linux") {
# Linux needs -fPIC to build shared libs but they aren't on by default.
# For now, make libclang a static lib there.
@@ -8,7 +8,7 @@
}
target(lto_target_type, "lto") {
- output_name = "libLTO"
+ output_name = "LTO"
deps = [
"//llvm/lib/Bitcode/Reader",
"//llvm/lib/IR",
Index: llvm/trunk/utils/gn/secondary/llvm/unittests/ExecutionEngine/MCJIT/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/secondary/llvm/unittests/ExecutionEngine/MCJIT/BUILD.gn
+++ llvm/trunk/utils/gn/secondary/llvm/unittests/ExecutionEngine/MCJIT/BUILD.gn
@@ -24,6 +24,6 @@
]
if (host_os == "win") {
- sources += [ "MCJITTest.def" ]
+ sources += [ "MCJITTests.def" ]
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56630.181436.patch
Type: text/x-patch
Size: 1132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190112/ae091c47/attachment.bin>
More information about the llvm-commits
mailing list