[flang-commits] [flang] 2a2b27d - [flang] Fix CMake dependency in CUF/Attributes (#92751)
via flang-commits
flang-commits at lists.llvm.org
Mon May 20 09:16:27 PDT 2024
Author: David Truby
Date: 2024-05-20T17:16:23+01:00
New Revision: 2a2b27d99e3faf34a593c1ed8029ed4744f1cd5d
URL: https://github.com/llvm/llvm-project/commit/2a2b27d99e3faf34a593c1ed8029ed4744f1cd5d
DIFF: https://github.com/llvm/llvm-project/commit/2a2b27d99e3faf34a593c1ed8029ed4744f1cd5d.diff
LOG: [flang] Fix CMake dependency in CUF/Attributes (#92751)
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
Added:
Modified:
flang/lib/Optimizer/Dialect/CUF/Attributes/CMakeLists.txt
Removed:
################################################################################
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
More information about the flang-commits
mailing list