26 lines
498 B
CMake
26 lines
498 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
Support
|
|
nativecodegen
|
|
native
|
|
)
|
|
|
|
add_mlir_tool(mlir-cpu-runner
|
|
mlir-cpu-runner.cpp
|
|
)
|
|
llvm_update_compile_flags(mlir-cpu-runner)
|
|
target_link_libraries(mlir-cpu-runner PRIVATE
|
|
MLIRAnalysis
|
|
MLIRBuiltinToLLVMIRTranslation
|
|
MLIRExecutionEngine
|
|
MLIRIR
|
|
MLIRJitRunner
|
|
MLIRLLVMDialect
|
|
MLIRLLVMToLLVMIRTranslation
|
|
MLIRToLLVMIRTranslationRegistration
|
|
MLIRParser
|
|
MLIRTargetLLVMIRExport
|
|
MLIRSupport
|
|
)
|
|
|
|
export_executable_symbols(mlir-cpu-runner)
|