[Mlir-commits] [mlir] dc120ba - [MLIR] Do not link mlir-cpu-runner	with X86 libs
    Stephen Neuendorffer 
    llvmlistbot at llvm.org
       
    Wed Mar 11 11:36:07 PDT 2020
    
    
  
Author: Stephen Neuendorffer
Date: 2020-03-11T11:35:59-07:00
New Revision: dc120bae46d28e61783a873f3cf21cc84642f327
URL: https://github.com/llvm/llvm-project/commit/dc120bae46d28e61783a873f3cf21cc84642f327
DIFF: https://github.com/llvm/llvm-project/commit/dc120bae46d28e61783a873f3cf21cc84642f327.diff
LOG: [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
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 98d842a7faa1..9903e8d86e7e 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
   )
        
    
    
More information about the Mlir-commits
mailing list