[Mlir-commits] [mlir] 53a5c3a - Fix MLIR build with Shared lib enabled

Mehdi Amini llvmlistbot at llvm.org
Mon Jun 5 12:11:13 PDT 2023


Author: Mehdi Amini
Date: 2023-06-05T12:10:24-07:00
New Revision: 53a5c3ab4dbe434753e0e4e3505efa2e5692e752

URL: https://github.com/llvm/llvm-project/commit/53a5c3ab4dbe434753e0e4e3505efa2e5692e752
DIFF: https://github.com/llvm/llvm-project/commit/53a5c3ab4dbe434753e0e4e3505efa2e5692e752.diff

LOG: Fix MLIR build with Shared lib enabled

db7cc0348c9a0 added OpenMP support to the execution engine but didn't
add the explicit CMake dependency.

Added: 
    

Modified: 
    mlir/lib/ExecutionEngine/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/ExecutionEngine/CMakeLists.txt b/mlir/lib/ExecutionEngine/CMakeLists.txt
index e2f76fa51ba93..3c80e52e4ec4d 100644
--- a/mlir/lib/ExecutionEngine/CMakeLists.txt
+++ b/mlir/lib/ExecutionEngine/CMakeLists.txt
@@ -90,6 +90,7 @@ add_mlir_library(MLIRExecutionEngine
   MLIRExecutionEngineUtils
   MLIRLLVMDialect
   MLIRLLVMToLLVMIRTranslation
+  MLIROpenMPToLLVMIRTranslation
   MLIRTargetLLVMIRExport
   )
 


        


More information about the Mlir-commits mailing list