[mlir] Make mlir-cpu-runner depend on native instead of X86

This commit is contained in:
Nicolas Vasilache 2020-11-30 15:11:34 +00:00
parent d5aaf60214
commit 78c7118746

View File

@ -2,6 +2,7 @@ set(LLVM_LINK_COMPONENTS
Core
Support
nativecodegen
native
)
add_llvm_tool(mlir-cpu-runner
@ -11,8 +12,6 @@ llvm_update_compile_flags(mlir-cpu-runner)
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
target_link_libraries(mlir-cpu-runner PRIVATE
${dialect_libs}
LLVMAsmParser
LLVMX86AsmParser
MLIRAnalysis
MLIREDSC
MLIRExecutionEngine