From 70b56269f0e89b827098512d217a9dfd15ccfa56 Mon Sep 17 00:00:00 2001 From: Razvan Lupusoru Date: Tue, 14 Jan 2025 11:19:07 -0800 Subject: [PATCH] [flang][acc] Fix FIRTestOpenACCInterfaces dependency 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. --- flang/test/lib/OpenACC/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 )