Topologically sort the library to link to mlir-cpu-runner which is required with...
authorMehdi Amini <joker.eph@gmail.com>
Sat, 24 Oct 2020 00:34:58 +0000 (00:34 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 24 Oct 2020 00:35:55 +0000 (00:35 +0000)
mlir/tools/mlir-cpu-runner/CMakeLists.txt

index 596012c..8aa7abc 100644 (file)
@@ -10,12 +10,12 @@ add_llvm_tool(mlir-cpu-runner
 llvm_update_compile_flags(mlir-cpu-runner)
 get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
 target_link_libraries(mlir-cpu-runner PRIVATE
+  MLIRJitRunner
   ${dialect_libs}
   MLIRAnalysis
   MLIREDSC
   MLIRExecutionEngine
   MLIRIR
-  MLIRJitRunner
   MLIRLLVMIR
   MLIRParser
   MLIRTargetLLVMIR