[flang-commits] [PATCH] D136607: [flang] Fix building against LLVM dylib
Michał Górny via Phabricator via flang-commits
flang-commits at lists.llvm.org
Mon Oct 24 07:59:52 PDT 2022
mgorny created this revision.
mgorny added reviewers: awarzynski, clementval, vzakhari, stellaraccident, mehdi_amini, tstellar, MaskRay.
Herald added a subscriber: StephenFan.
Herald added a project: All.
mgorny requested review of this revision.
https://reviews.llvm.org/D136607
Files:
flang/tools/bbc/CMakeLists.txt
flang/tools/tco/CMakeLists.txt
Index: flang/tools/tco/CMakeLists.txt
===================================================================
--- flang/tools/tco/CMakeLists.txt
+++ flang/tools/tco/CMakeLists.txt
@@ -1,3 +1,7 @@
+set(LLVM_LINK_COMPONENTS
+ Passes
+)
+
add_flang_tool(tco tco.cpp)
llvm_update_compile_flags(tco)
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
@@ -22,5 +26,4 @@
MLIRParser
MLIRSupport
MLIRVectorToLLVM
- LLVMPasses
)
Index: flang/tools/bbc/CMakeLists.txt
===================================================================
--- flang/tools/bbc/CMakeLists.txt
+++ flang/tools/bbc/CMakeLists.txt
@@ -1,3 +1,6 @@
+set(LLVM_LINK_COMPONENTS
+Passes
+)
add_flang_tool(bbc bbc.cpp
DEPENDS
@@ -20,5 +23,4 @@
FortranEvaluate
FortranSemantics
FortranLower
-LLVMPasses
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136607.470155.patch
Type: text/x-patch
Size: 790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221024/df567f06/attachment.bin>
More information about the flang-commits
mailing list