[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 09:14:26 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGd5953785a455: [flang] Fix building against LLVM dylib (authored by mgorny).
Herald added a project: Flang.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136607/new/

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.470181.patch
Type: text/x-patch
Size: 790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221024/a45d6067/attachment.bin>


More information about the flang-commits mailing list