[flang-commits] [flang] bbcc0f6 - [flang] Fix standalone builds
Andrzej Warzynski via flang-commits
flang-commits at lists.llvm.org
Fri Mar 4 05:07:41 PST 2022
Author: Andrzej Warzynski
Date: 2022-03-04T13:05:44Z
New Revision: bbcc0f6006a128b9004384b42c9de9430d96dc91
URL: https://github.com/llvm/llvm-project/commit/bbcc0f6006a128b9004384b42c9de9430d96dc91
DIFF: https://github.com/llvm/llvm-project/commit/bbcc0f6006a128b9004384b42c9de9430d96dc91.diff
LOG: [flang] Fix standalone builds
In dd875dd88bf7f39ad56d8402bdc49ffeb51b4ab8 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.
Differential Revision: https://reviews.llvm.org/D120986
Added:
Modified:
flang/lib/Frontend/CMakeLists.txt
Removed:
################################################################################
diff --git a/flang/lib/Frontend/CMakeLists.txt b/flang/lib/Frontend/CMakeLists.txt
index aaa017a03fb0f..4a21b136bfe7f 100644
--- a/flang/lib/Frontend/CMakeLists.txt
+++ b/flang/lib/Frontend/CMakeLists.txt
@@ -15,7 +15,7 @@ add_flang_library(flangFrontend
FIRBuilder
FIRDialect
FIRSupport
- MLIRBuiltinAttributeInterfacesIncGen
+ MLIRIR
${dialect_libs}
LINK_LIBS
More information about the flang-commits
mailing list