[Mlir-commits] [mlir] 3a4b832 - Topologically sort the library to link to mlir-cpu-runner which is required with some linkers like BFD (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Fri Oct 23 17:36:13 PDT 2020
Author: Mehdi Amini
Date: 2020-10-24T00:35:55Z
New Revision: 3a4b832b1ba8a58cfd12d66474ccb0cb322c24c4
URL: https://github.com/llvm/llvm-project/commit/3a4b832b1ba8a58cfd12d66474ccb0cb322c24c4
DIFF: https://github.com/llvm/llvm-project/commit/3a4b832b1ba8a58cfd12d66474ccb0cb322c24c4.diff
LOG: Topologically sort the library to link to mlir-cpu-runner which is required with some linkers like BFD (NFC)
Added:
Modified:
mlir/tools/mlir-cpu-runner/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/tools/mlir-cpu-runner/CMakeLists.txt b/mlir/tools/mlir-cpu-runner/CMakeLists.txt
index 596012c88228..8aa7abc16ba4 100644
--- a/mlir/tools/mlir-cpu-runner/CMakeLists.txt
+++ b/mlir/tools/mlir-cpu-runner/CMakeLists.txt
@@ -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
More information about the Mlir-commits
mailing list