We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8378a6f commit 090c0bbCopy full SHA for 090c0bb
mlir/CMakeLists.txt
@@ -124,10 +124,13 @@ set_target_properties(mlir-doc PROPERTIES FOLDER "MLIR/Docs")
124
125
# Only enable execution engine if the native target is available.
126
if(${LLVM_NATIVE_ARCH} IN_LIST LLVM_TARGETS_TO_BUILD)
127
- set(MLIR_ENABLE_EXECUTION_ENGINE 1)
+ set(MLIR_ENABLE_EXECUTION_ENGINE_default 1)
128
else()
129
- set(MLIR_ENABLE_EXECUTION_ENGINE 0)
+ set(MLIR_ENABLE_EXECUTION_ENGINE_default 0)
130
endif()
131
+option(MLIR_ENABLE_EXECUTION_ENGINE
132
+ "Enable building the MLIR Execution Engine."
133
+ ${MLIR_ENABLE_EXECUTION_ENGINE_default})
134
135
# Build the ROCm conversions and run according tests if the AMDGPU backend
136
# is available.
0 commit comments