[flang-commits] [flang] [flang] Fixed the missing dependency. (PR #121370)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Mon Dec 30 20:54:09 PST 2024
https://github.com/vzakhari created https://github.com/llvm/llvm-project/pull/121370
My local build with the shared libraries is broken.
I suppose this was introduced by #120374.
`flang/include/flang/Evaluate/constant.h` ends up being included
by `MapInfoFinalization.cpp` via `flang/Lower/DirectivesCommon.h`.
The undefined references are related to `ConstantBase` classes.
>From 680ddbbec86e5f7cc6e4f06b7e0adfa002642773 Mon Sep 17 00:00:00 2001
From: Slava Zakharin <szakharin at nvidia.com>
Date: Mon, 30 Dec 2024 20:47:38 -0800
Subject: [PATCH] [flang] Fixed the missing dependency.
My local build with the shared libraries is broken.
I suppose this was introduced by #120374.
`flang/include/flang/Evaluate/constant.h` ends up being included
by `MapInfoFinalization.cpp` via `flang/Lower/DirectivesCommon.h`.
The undefined references are related to `ConstantBase` classes.
---
flang/lib/Optimizer/OpenMP/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/flang/lib/Optimizer/OpenMP/CMakeLists.txt b/flang/lib/Optimizer/OpenMP/CMakeLists.txt
index 4f23b2b970fa44..026889cca238a0 100644
--- a/flang/lib/Optimizer/OpenMP/CMakeLists.txt
+++ b/flang/lib/Optimizer/OpenMP/CMakeLists.txt
@@ -22,6 +22,7 @@ add_flang_library(FlangOpenMPTransforms
FIRDialectSupport
FIRSupport
FortranCommon
+ FortranEvaluate
MLIRFuncDialect
MLIROpenMPDialect
HLFIRDialect
More information about the flang-commits
mailing list