[flang-commits] [flang] [flang][cuda] Fix libTransforms linking (PR #101773)

via flang-commits flang-commits at lists.llvm.org
Fri Aug 2 16:31:13 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

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

Author: Valentin Clement (バレンタイン クレメン) (clementval)

<details>
<summary>Changes</summary>

Fix buildbot failure #<!-- -->101563 

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


1 Files Affected:

- (modified) flang/lib/Optimizer/Transforms/CMakeLists.txt (+2) 


``````````diff
diff --git a/flang/lib/Optimizer/Transforms/CMakeLists.txt b/flang/lib/Optimizer/Transforms/CMakeLists.txt
index 5306b84e0e77a..b3b08e06fb258 100644
--- a/flang/lib/Optimizer/Transforms/CMakeLists.txt
+++ b/flang/lib/Optimizer/Transforms/CMakeLists.txt
@@ -30,11 +30,13 @@ add_flang_library(FIRTransforms
   DebugTypeGenerator.cpp
 
   DEPENDS
+  CUFDialect
   FIRDialect
   FIROptTransformsPassIncGen
   HLFIROpsIncGen
 
   LINK_LIBS
+  CUFDialect
   FIRAnalysis
   FIRBuilder
   FIRCodeGen

``````````

</details>


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


More information about the flang-commits mailing list