mirror of https://github.com/llvm/torch-mlir
25 lines
416 B
CMake
25 lines
416 B
CMake
add_npcomp_dialect_library(NPCOMPTorchDialect
|
|
TorchDialect.cpp
|
|
TorchOps.cpp
|
|
TorchTypes.cpp
|
|
TorchUtils.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${PROJECT_SOURCE_DIR}/include/npcomp/Dialect/Torch
|
|
|
|
DEPENDS
|
|
MLIRTorchOpsIncGen
|
|
MLIRTorchTypesIncGen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRIR
|
|
MLIRSupport
|
|
MLIRControlFlowInterfaces
|
|
MLIRSideEffectInterfaces
|
|
NPCOMPBasicpyDialect
|
|
NPCOMPInterfaces
|
|
)
|