[flang-commits] [flang] [flang] Move FIRSupport dependency to correct place (PR #125697)
Nikita Popov via flang-commits
flang-commits at lists.llvm.org
Tue Feb 4 07:26:20 PST 2025
https://github.com/nikic created https://github.com/llvm/llvm-project/pull/125697
This library is provided by flang, not MLIR, so it should not be part of MLIR_LIBS.
Fixes an issue introduced in https://github.com/llvm/llvm-project/pull/120966.
>From 852bdfaf0b15e8d73c4519d49f0b8f5b7f8f0fdc Mon Sep 17 00:00:00 2001
From: Nikita Popov <npopov at redhat.com>
Date: Tue, 4 Feb 2025 16:09:24 +0100
Subject: [PATCH] [flang] Move FIRSupport dependency to correct place
This library is provided by flang, not MLIR, so it should not be
part of MLIR_LIBS.
---
flang/lib/Optimizer/Analysis/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flang/lib/Optimizer/Analysis/CMakeLists.txt b/flang/lib/Optimizer/Analysis/CMakeLists.txt
index 6fe9c70f83765f..c4dae898f8e572 100644
--- a/flang/lib/Optimizer/Analysis/CMakeLists.txt
+++ b/flang/lib/Optimizer/Analysis/CMakeLists.txt
@@ -12,6 +12,7 @@ add_flang_library(FIRAnalysis
LINK_LIBS
FIRBuilder
FIRDialect
+ FIRSupport
HLFIRDialect
MLIR_LIBS
@@ -19,5 +20,4 @@ add_flang_library(FIRAnalysis
MLIRLLVMDialect
MLIRMathTransforms
MLIROpenMPDialect
- FIRSupport
)
More information about the flang-commits
mailing list