Mercurial > hg > CbC > CbC_llvm
view mlir/lib/Support/CMakeLists.txt @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 0572611fdcc8 |
line wrap: on
line source
set(LLVM_OPTIONAL_SOURCES FileUtilities.cpp JitRunner.cpp MlirOptMain.cpp StorageUniquer.cpp ToolUtilities.cpp TranslateClParser.cpp ) add_llvm_library(MLIRSupport FileUtilities.cpp StorageUniquer.cpp ToolUtilities.cpp ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Support ) target_link_libraries(MLIRSupport LLVMSupport ${LLVM_PTHREAD_LIB}) add_llvm_library(MLIROptLib MlirOptMain.cpp ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Support ) target_link_libraries(MLIROptLib MLIRPass MLIRParser LLVMSupport MLIRSupport ) add_llvm_library(MLIRTranslateClParser TranslateClParser.cpp ADDITIONAL_HEADER_DIRS ${MLIR_MAIN_INCLUDE_DIR}/mlir/Support ) target_link_libraries(MLIRTranslateClParser LLVMSupport MLIRIR MLIRTranslation MLIRParser) add_llvm_library(MLIRJitRunner JitRunner.cpp ) target_link_libraries(MLIRJitRunner PRIVATE MLIRExecutionEngine MLIRIR MLIRParser MLIRStandardOps MLIRTargetLLVMIR MLIRTransforms MLIRStandardToLLVM MLIRSupport LLVMCore LLVMSupport )