[PATCH] D120986: [flang] Fix standalone builds

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 03:40:41 PST 2022


awarzynski created this revision.
awarzynski added a reviewer: DavidSpickett.
Herald added subscribers: Chia-hungDuan, rriddle, mgorny.
Herald added projects: Flang, All.
awarzynski requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, jdoerfert.
Herald added a project: LLVM.

In dd875dd88bf7f39ad56d8402bdc49ffeb51b4ab8 <https://reviews.llvm.org/rGdd875dd88bf7f39ad56d8402bdc49ffeb51b4ab8> I added a missing MLIR
dependency in Flang. However, that particular CMake target is not
exported as something available to standalone builds. In this patch is
switch to `MLIRIR` instead, which depends on
`MLIRBuiltinAttributeInterfacesIncGen` - the missing dependency added
previously.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120986

Files:
  flang/lib/Frontend/CMakeLists.txt


Index: flang/lib/Frontend/CMakeLists.txt
===================================================================
--- flang/lib/Frontend/CMakeLists.txt
+++ flang/lib/Frontend/CMakeLists.txt
@@ -15,7 +15,7 @@
   FIRBuilder
   FIRDialect
   FIRSupport
-  MLIRBuiltinAttributeInterfacesIncGen
+  MLIRIR
   ${dialect_libs}
 
   LINK_LIBS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120986.412976.patch
Type: text/x-patch
Size: 329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220304/80ed64b1/attachment.bin>


More information about the llvm-commits mailing list