[flang-commits] [flang] [flang] Fix CMake dependency in CUF/Attributes (PR #92751)
via flang-commits
flang-commits at lists.llvm.org
Mon May 20 06:38:52 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-fir-hlfir
Author: David Truby (DavidTruby)
<details>
<summary>Changes</summary>
flang/lib/Optimizer/Dialect/CUF/Attributes/CUFAttr.cpp includes
CUFDialect.h.inc, but the target generating that isn't currently
depended on in CUF/Attributes. This patch adds that missing dependency.
Fixes #<!-- -->92635
---
Full diff: https://github.com/llvm/llvm-project/pull/92751.diff
1 Files Affected:
- (modified) flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt (+1)
``````````diff
diff --git a/flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt b/flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt
index 81db40f3ba466..ec5484c1d6108 100644
--- a/flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt
+++ b/flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt
@@ -5,6 +5,7 @@ add_flang_library(CUFAttrs
DEPENDS
MLIRIR
CUFAttrsIncGen
+ CUFOpsIncGen
LINK_LIBS
MLIRTargetLLVMIRExport
``````````
</details>
https://github.com/llvm/llvm-project/pull/92751
More information about the flang-commits
mailing list