torch-mlir/lib/CAPI/CMakeLists.txt

21 lines
304 B
CMake

set(LLVM_LINK_COMPONENTS
Core
Support
nativecodegen
)
add_npcomp_library(NPCOMPCAPI
InitLLVM.cpp
Registration.cpp
Types.cpp
LINK_LIBS PUBLIC
MLIRExecutionEngine
MLIRLLVMIR
MLIRTargetLLVMIRExport
NPCOMPInitAll
NPCOMPBasicpyDialect
NPCOMPNumpyDialect
NPCOMPTorchDialect
)