[MLIR] Do not link mlir-cpu-runner with X86 libs
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Wed, 11 Mar 2020 16:50:19 +0000 (09:50 -0700)
committerStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Wed, 11 Mar 2020 18:35:59 +0000 (11:35 -0700)
The three libs where recently added to the `mlir-cpu-runner`'s
`CMakeLists.txt` file. This prevent the runner to compile on other
platform (e.g. Power in my case).  Native codegen is pulled in
by the ExecutionEngine library, so this is redundant in any case.

Differential Revision: https://reviews.llvm.org/D75916

mlir/tools/mlir-cpu-runner/CMakeLists.txt

index 98d842a..9903e8d 100644 (file)
@@ -16,7 +16,4 @@ target_link_libraries(mlir-cpu-runner PRIVATE
   MLIRSupport
   LLVMCore
   LLVMSupport
-  LLVMX86CodeGen
-  LLVMX86Desc
-  LLVMX86Info
   )