[flang-commits] [flang] [flang] Fixed the missing dependency. (PR #121370)

via flang-commits flang-commits at lists.llvm.org
Mon Dec 30 20:54:39 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-flang-fir-hlfir

Author: Slava Zakharin (vzakhari)

<details>
<summary>Changes</summary>

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.


---
Full diff: https://github.com/llvm/llvm-project/pull/121370.diff


1 Files Affected:

- (modified) flang/lib/Optimizer/OpenMP/CMakeLists.txt (+1) 


``````````diff
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

``````````

</details>


https://github.com/llvm/llvm-project/pull/121370


More information about the flang-commits mailing list