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

20 lines
304 B
CMake
Raw Normal View History

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