[flang-commits] [flang] [flang][acc] Fix FIRTestOpenACCInterfaces dependency (PR #122953)

via flang-commits flang-commits at lists.llvm.org
Tue Jan 14 11:23:00 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-openacc

Author: Razvan Lupusoru (razvanlupusoru)

<details>
<summary>Changes</summary>

According to one of the LLVM builds:
https://github.com/llvm/llvm-project/pull/122495#issuecomment-2590897971 The linking to various "mlir::Pass::" methods is failing. Ensure dependency is properly setup.

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


1 Files Affected:

- (modified) flang/test/lib/OpenACC/CMakeLists.txt (+4-4) 


``````````diff
diff --git a/flang/test/lib/OpenACC/CMakeLists.txt b/flang/test/lib/OpenACC/CMakeLists.txt
index 54a81373d253fa..8aa3c7689af4e9 100644
--- a/flang/test/lib/OpenACC/CMakeLists.txt
+++ b/flang/test/lib/OpenACC/CMakeLists.txt
@@ -3,19 +3,19 @@ add_flang_library(FIRTestOpenACCInterfaces
 
   DEPENDS
   FIRDialect
-  FIRBuilder
   FIROpenACCSupport
   FIRSupport
-  FIRTransforms
+  MLIRIR
   MLIROpenACCDialect
+  MLIRPass
+  MLIRSupport
 
   LINK_LIBS
   FIRDialect
-  FIRBuilder
   FIROpenACCSupport
   FIRSupport
   MLIRIR
   MLIROpenACCDialect
+  MLIRPass
   MLIRSupport
-  MLIRFuncDialect
 )

``````````

</details>


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


More information about the flang-commits mailing list