torch-mlir/lib/CAPI/CMakeLists.txt

20 lines
277 B
CMake
Raw Normal View History

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