[Mlir-commits] [mlir] 6e9ca8c - [mlir][openacc] Fix build after D148389

Razvan Lupusoru llvmlistbot at llvm.org
Tue Apr 18 16:34:02 PDT 2023


Author: Razvan Lupusoru
Date: 2023-04-18T16:33:43-07:00
New Revision: 6e9ca8c7dfa362bf2dc7b542a5f0d256381b86aa

URL: https://github.com/llvm/llvm-project/commit/6e9ca8c7dfa362bf2dc7b542a5f0d256381b86aa
DIFF: https://github.com/llvm/llvm-project/commit/6e9ca8c7dfa362bf2dc7b542a5f0d256381b86aa.diff

LOG: [mlir][openacc] Fix build after D148389

Buildbot reported undefined references to LLVM dialect and Memref
dialect. The issue is that OpenACC dialect now depends on those
(since it attaches interface to the types) but the cmake file
did not explicitly add those dependencies.

Reviewed By: clementval, vzakhari

Differential Revision: https://reviews.llvm.org/D148673

Added: 
    

Modified: 
    mlir/lib/Dialect/OpenACC/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/OpenACC/CMakeLists.txt b/mlir/lib/Dialect/OpenACC/CMakeLists.txt
index 5e09044ad2155..0f8f165d76b2f 100644
--- a/mlir/lib/Dialect/OpenACC/CMakeLists.txt
+++ b/mlir/lib/Dialect/OpenACC/CMakeLists.txt
@@ -12,5 +12,7 @@ add_mlir_dialect_library(MLIROpenACCDialect
 
   LINK_LIBS PUBLIC
   MLIRIR
+  MLIRLLVMDialect
+  MLIRMemRefDialect
   )
 


        


More information about the Mlir-commits mailing list