Skip to content

Commit

Permalink
Removing MLIR dependency requirement until ROCm 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryyin authored and junliume committed Nov 25, 2021
1 parent cce95d4 commit 95b58f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 95b58f7

Please sign in to comment.