torch-mlir/lib/Dialect/Torch/IR/CMakeLists.txt

22 lines
359 B
CMake
Raw Normal View History

add_npcomp_dialect_library(NPCOMPTorchDialect
2020-09-29 03:02:35 +08:00
TorchDialect.cpp
TorchOps.cpp
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/include/npcomp/Dialect/Torch
DEPENDS
MLIRTorchOpsIncGen
MLIRTorchOpInterfacesIncGen
MLIRTorchTypesIncGen
2020-09-29 03:02:35 +08:00
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIRIR
MLIRSupport
NPCOMPBasicpyDialect
NPCOMPNumpyDialect
2020-09-29 03:02:35 +08:00
)