[Mlir-commits] [mlir] 69a0a3b - [mlir] Add missing MLIR_ENABLE_EXECUTION_ENGINE option to MLIRConfig.cmake.in

Mehdi Amini llvmlistbot at llvm.org
Fri Dec 8 04:13:54 PST 2023


Author: Mehdi Amini
Date: 2023-12-08T04:12:47-08:00
New Revision: 69a0a3be0185ce3bc0458b0047795e8ebfe95abd

URL: https://github.com/llvm/llvm-project/commit/69a0a3be0185ce3bc0458b0047795e8ebfe95abd
DIFF: https://github.com/llvm/llvm-project/commit/69a0a3be0185ce3bc0458b0047795e8ebfe95abd.diff

LOG: [mlir] Add missing MLIR_ENABLE_EXECUTION_ENGINE option to MLIRConfig.cmake.in

This is the kind of options that downstream consumers of preconfigured MLIR
packages can check to see if the execution engine is available or not.

Added: 
    

Modified: 
    mlir/cmake/modules/MLIRConfig.cmake.in

Removed: 
    


################################################################################
diff  --git a/mlir/cmake/modules/MLIRConfig.cmake.in b/mlir/cmake/modules/MLIRConfig.cmake.in
index cd8cec5dedf3c1..d4da3cd98cce98 100644
--- a/mlir/cmake/modules/MLIRConfig.cmake.in
+++ b/mlir/cmake/modules/MLIRConfig.cmake.in
@@ -13,6 +13,7 @@ set(MLIR_TABLEGEN_EXE "@MLIR_CONFIG_TABLEGEN_EXE@")
 set(MLIR_PDLL_TABLEGEN_EXE "@MLIR_CONFIG_PDLL_TABLEGEN_EXE@")
 set(MLIR_INSTALL_AGGREGATE_OBJECTS "@MLIR_INSTALL_AGGREGATE_OBJECTS@")
 set(MLIR_ENABLE_BINDINGS_PYTHON "@MLIR_ENABLE_BINDINGS_PYTHON@")
+set(MLIR_ENABLE_EXECUTION_ENGINE "@MLIR_ENABLE_EXECUTION_ENGINE@")
 
 # For mlir_tablegen()
 set(MLIR_INCLUDE_DIR "@MLIR_INCLUDE_DIR@")


        


More information about the Mlir-commits mailing list