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

20 lines
306 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
LINK_COMPONENTS
Core
LINK_LIBS PUBLIC
MLIRIR
MLIRSupport
NPCOMPBasicpyDialect
NPCOMPNumpyDialect
2020-09-29 03:02:35 +08:00
)