[Mlir-commits] [mlir] 345acac - [mlir] Fix shared libs build after 138df298208a095dc9bb9e5d1e3c67231b0abd77

Markus Böck llvmlistbot at llvm.org
Thu Aug 10 01:56:00 PDT 2023


Author: Markus Böck
Date: 2023-08-10T10:54:18+02:00
New Revision: 345acac85d382998e5721073cc077e47e799311f

URL: https://github.com/llvm/llvm-project/commit/345acac85d382998e5721073cc077e47e799311f
DIFF: https://github.com/llvm/llvm-project/commit/345acac85d382998e5721073cc077e47e799311f.diff

LOG: [mlir] Fix shared libs build after 138df298208a095dc9bb9e5d1e3c67231b0abd77

Despite the dialect depending on the interface it previously got away with not linking against it.
138df298208a095dc9bb9e5d1e3c67231b0abd77 changed this causing build failures.

Added: 
    

Modified: 
    mlir/lib/Dialect/MLProgram/IR/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/MLProgram/IR/CMakeLists.txt b/mlir/lib/Dialect/MLProgram/IR/CMakeLists.txt
index 994992bd69fb0a..fad5928b9513f8 100644
--- a/mlir/lib/Dialect/MLProgram/IR/CMakeLists.txt
+++ b/mlir/lib/Dialect/MLProgram/IR/CMakeLists.txt
@@ -12,6 +12,7 @@ add_mlir_dialect_library(MLIRMLProgramDialect
 
   LINK_LIBS PUBLIC
   MLIRDialect
+  MLIRControlFlowInterfaces
   MLIRInferTypeOpInterface
   MLIRIR
   )


        


More information about the Mlir-commits mailing list