From 95b58f72f203d60e375ef4736243fe5617d73edd Mon Sep 17 00:00:00 2001 From: jerryyin Date: Fri, 19 Nov 2021 17:16:36 +0000 Subject: [PATCH] Removing MLIR dependency requirement until ROCm 5.1 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d1c85075e9..cb73878f40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -323,7 +323,7 @@ endif() set_var_to_condition(MIOPEN_USE_COMGR_DEFAULT MIOPEN_EMBED_BUILD) option(MIOPEN_USE_COMGR "Use comgr to build kernels instead of offline tools" ${MIOPEN_USE_COMGR_DEFAULT}) -set_var_to_condition(MIOPEN_USE_MLIR_DEFAULT NOT (NOT ${BUILD_SHARED_LIBS} AND ${MIOPEN_USE_COMGR})) +set(MIOPEN_USE_MLIR_DEFAULT Off) option(MIOPEN_USE_MLIR "Use MLIR compilation backend" ${MIOPEN_USE_MLIR_DEFAULT}) if(MIOPEN_USE_MLIR)