From dc120bae46d28e61783a873f3cf21cc84642f327 Mon Sep 17 00:00:00 2001 From: Stephen Neuendorffer Date: Wed, 11 Mar 2020 09:50:19 -0700 Subject: [PATCH] [MLIR] Do not link mlir-cpu-runner with X86 libs 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 | 3 --- 1 file changed, 3 deletions(-) diff --git a/mlir/tools/mlir-cpu-runner/CMakeLists.txt b/mlir/tools/mlir-cpu-runner/CMakeLists.txt index 98d842a..9903e8d 100644 --- a/mlir/tools/mlir-cpu-runner/CMakeLists.txt +++ b/mlir/tools/mlir-cpu-runner/CMakeLists.txt @@ -16,7 +16,4 @@ target_link_libraries(mlir-cpu-runner PRIVATE MLIRSupport LLVMCore LLVMSupport - LLVMX86CodeGen - LLVMX86Desc - LLVMX86Info ) -- 2.7.4